[PATCH] rpcrt4/rpc_transport.c: the named pipe can be used for multiple operations at the same time, so use overlapped operations for ReadFile and WriteFile

Jérôme Gardou jerome.gardou at laposte.net
Thu Sep 15 13:47:16 CDT 2011

Le 14/09/2011 14:19, Bernhard Loos a écrit :
> ---
>   dlls/rpcrt4/rpc_transport.c |   53 +++++++++++++++++++++++-------------------
>   1 files changed, 29 insertions(+), 24 deletions(-)

I had a quite similar patch, but you beat me!

Anyway, aren't those funtions susceptible to be called in a 
multithreaded environment? If so, having an unique event for all the 
read or write operations seems dangerous to me.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20110915/16bc2bcd/attachment.html>

More information about the wine-devel mailing list