[Twisted-Python] a possible solution for ticket 5562

Glyph glyph at twistedmatrix.com
Mon Oct 22 00:06:15 EDT 2012

On Oct 20, 2012, at 7:56 PM, gelin yan <dynamicgl at 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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20121021/2fffa951/attachment.htm 

More information about the Twisted-Python mailing list