This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients benjamin.peterson, daniel.urban, jcon, pitrou, stutzbach
Date 2011-05-07.09:23:37
SpamBayes Score 0.0015068275
Marked as misclassified No
Message-id <1304760219.25.0.441505412411.issue9971@psf.upfronthosting.co.za>
In-reply-to
Content
A solution could be to use overlapped I/O on the named pipe handles.
The first poll() would call ReadFile() with a tiny value (1?) and store an object wrapping the OVERLAPPED structure. Subsequent poll() or recv() would re-use that structure until the overlapped read succeeds.
The hEvent in the OVERLAPPED structure should be usable in WFMO fine.
History
Date User Action Args
2011-05-07 10:00:39pitrouunlinkissue9971 messages
2011-05-07 09:23:39pitrousetrecipients: + pitrou, benjamin.peterson, stutzbach, daniel.urban, jcon
2011-05-07 09:23:39pitrousetmessageid: <1304760219.25.0.441505412411.issue9971@psf.upfronthosting.co.za>
2011-05-07 09:23:37pitroulinkissue9971 messages
2011-05-07 09:23:37pitroucreate