getting rid of include/async.h

Eric Pouech pouech-eric at wanadoo.fr
Fri Sep 24 14:01:28 CDT 2004


This patch removes the use of include/async.h.
Alexandre, I don't like the outcome in dlls/ntdll/sync.c. With this 
patch, we always call the server (even for non alertable waits) in 
NtDelayExecution, which is suboptimal.
One solution would be to ask each time we use somewhere an overlapped 
operation to keep track of the number of pending ops, and store this 
number instead of the pending_list field.
Another one, would be to keep this counter in the server, and pass the 
information in the async_io_apc (this would require getting rid of the 
iosb parameter on the server, but that's doable).
A+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: async.diff
Type: text/x-patch
Size: 63859 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040924/1c9482ef/async.bin


More information about the wine-patches mailing list