I believe the socket needs to be opened for async IO then.
Ge van Geldorp wrote:
From: art yerkes
Hmm. I know that before moved I created different events used by each synchronous call in msafd to correct exactly that problem. Is that not working?
The problem was that the handle was opened with the FILE_SYNCHRONOUS_IO_NONALERT option. This caused NtDeviceIoControlFile to do an internal wait if the driver returned STATUS_PENDING. As a result, STATUS_PENDING was no longer returned as the status by NtDeviceIoControlFile to msafd, so the waits in msafd were bypassed. I've attached the proposed patch to bug 713. No comments so far.
Gé van Geldorp.
Ros-dev mailing list Ros-dev@reactos.com http://reactos.com:8080/mailman/listinfo/ros-dev