Wolfgang Walter <[email protected]> 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 [email protected]
