[Python-Dev] Socket timeout and completion based sockets

Richard Oudkerk shibturn at gmail.com
Tue Nov 27 13:33:10 CET 2012


On 27/11/2012 9:35am, Kristján Valur Jónsson wrote:
> This worries me:
> "If the file handle is associated with a completion port, an I/O completion
 > packet is not queued to the port if a synchronous operation is 
successfully canceled...
I think you can only abort a synchronous operation if you use 
CancelIoEx() from a different thread. That won't be an issue if you do 
all your IO stuff in one thread.
-- 
Richard


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /