Jacek Caban : server: Preallocate wait handle in create_request_async and return it in read request.

Alexandre Julliard julliard at winehq.org
Wed Jun 28 15:10:25 CDT 2017


Module: wine
Branch: master
Commit: 0fb6099b01df30a7bb55112fa1d29a079570cb8a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0fb6099b01df30a7bb55112fa1d29a079570cb8a

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Jun 26 12:17:36 2017 +0200

server: Preallocate wait handle in create_request_async and return it in read request.

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>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=0fb6099b01df30a7bb55112fa1d29a079570cb8a



More information about the wine-cvs mailing list