[PATCH 1/4] server: Make it possible to report many filesystem events
Alexandre Julliard
julliard at winehq.org
Thu Jan 6 11:38:56 CST 2011
Piotr Caban <piotr at codeweavers.com> writes:
> diff --git a/server/protocol.def b/server/protocol.def
> index 6245f4c..29a4c7a 100644
> --- a/server/protocol.def
> +++ b/server/protocol.def
> @@ -1449,6 +1449,7 @@ enum char_info_mode
> obj_handle_t handle;
> @REPLY
> int action; /* type of change */
> + int next_length; /* next file name length */
> VARARG(name,string); /* name of directory entry that changed */
> @END
Returning the next length won't work, because there's no guarantee that
it will be the same file that we return the next time around, there can
be multiple threads watching that handle.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list