[PATCH 01/11] server: Preallocate wait handle in create_request_async and return it in read request.

Jacek Caban jacek at codeweavers.com
Mon Jun 26 05:17:36 CDT 2017


alloc_handle is failable and when we're returning the handle, handling
error properly is not really possible.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
 server/async.c      | 35 ++++++++++++++++++++++++++++++++++-
 server/device.c     | 19 ++++++++++---------
 server/fd.c         |  4 ++--
 server/file.h       |  5 +++--
 server/named_pipe.c | 20 +++-----------------
 5 files changed, 52 insertions(+), 31 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-server-Preallocate-wait-handle-in-create_request_asyn.diff
Type: text/x-patch
Size: 10693 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170626/0dfd4399/attachment-0001.bin>


More information about the wine-patches mailing list