[1/10 AcceptEx] Implements locatable async events

Scott Lindeneau slindeneau at gmail.com
Sat Sep 6 15:36:05 CDT 2008


async.c:
Implements create_async_l: Includes an addtional paramaterof type
obj_handle_t. This handle will act as a locator that can be used by the
second function implmented (async_wake_up_l).
Implements async_wake_up_l: Wakes up a specific operation according to
the additional paramater with the approprate locator.

This is necessary for AcceptEx because multiple objects will wait on a
queue of a single object. These objects may be deleted and have their
assosciated handles destroyed independently of the object whose queue
they are waiting on. This added functionality is the only change.

fd.c:
Implmentds DECL_HANDLER(register_async_l): Identical to register_async
but takes an addtional paramater of type obj_handle_t which will be used
as the locator for the async operation.

file.h
Adds register_async_l as a valid field_op

protocol.def:
Changes for the DECL_HANDLER addtion above.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Implements-locatable-async-events.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080907/dc6cb649/attachment.txt 


More information about the wine-patches mailing list