19 Apr
2011
19 Apr
'11
8:29 a.m.
Wolfgang Walter <wolfgang.walter(a)stwm.de> writes:
So this is my theorie:
* wait_on() is called.
* wait_on() calls RtlQueueWorkItem(wait_for_event, commio, 0 /* FIXME */) and returns with STATUS_PENDING
* wait_for_event() finishes and sets iosb before io_control() continues
* io_control sets iosb to STATUS_PENDING
The last one is a bug. iosb should only be set once we have a result. Check how the other async I/O functions do it. -- Alexandre Julliard julliard(a)winehq.org