On Oct 20, 2012, at 7:56 PM, gelin yan <dynami...@gmail.com> wrote:
> "A pending operation is indicated when the function that started the
> operation returns FALSE, and the GetLastError function returns
> ERROR_IO_PENDING. When an I/O operation is pending, the function that started
> the operation resets the hEvent member of the OVERLAPPED structure to the
> nonsignaled state. Then when the pending operation has been completed, the
> system sets the event object to the signaled state."
>
> If we can know when event object is in the signaled state we definitely can
> use a queue directly. Any idea?
>
Sounds like you're at the point where you should just try doing an
implementation, and if it works and passes all the tests you can think of for
it, submit it for code review. Much more speculation without testing wouldn't
be useful.
Thanks for working on this!
-glyph
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python