Antoine Pitrou <pit...@free.fr> added the comment:

Ok, here's a patch for the new approach.
CancelIoEx is loaded dynamically and, if unavailable, CancelIo is used instead. 
I take care to cancel or complete the I/O in the same method call where it is 
initiated, meaning there's no thread-specificity issues.

(of course, all this is a lot of code just to have the desired 
WaitForMultipleObjects() semantics on a named pipe. Thank you, Windows)

----------
Added file: http://bugs.python.org/file21937/sentinels4.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9205>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to