[Python-ideas] non-blocking buffered I/O
Antoine Pitrou
solipsis at pitrou.net
Tue Oct 30 12:36:41 CET 2012
Le Tue, 30 Oct 2012 18:10:28 +1300,
Greg Ewing <greg.ewing at canterbury.ac.nz> a
écrit :
> Steve Dower wrote:
>
> > From my point of view, IOCP fits in very well provided the
> > callbacks (which will run in the IOCP thread pool) are only used to
> > unblock tasks.
>
> Is it really necessary to have a separate thread just to handle
> unblocking tasks? That thread will have very little to do, so
> it could just as well run the tasks too, couldn't it?
The IOCP thread pool is managed by Windows, not you.
Regards
Antoine.
More information about the Python-ideas
mailing list