[Python-ideas] re-implementing Twisted for fun and profit

Richard Oudkerk shibturn at gmail.com
Mon Oct 15 01:55:45 CEST 2012


On 14/10/2012 11:45pm, Greg Ewing wrote:
> It does indeed contradict me. It looks like this is
> implementation-dependent, because I distinctly remember
> encountering a bug once that I traced back to the fact
> that I wasn't servicing *all* the fds reported as ready
> before making another select call.

Could it have been that some fds were being starved because the earlier 
ones in the lists were getting priority?  Servicing all fds reported 
prevents such starvation problems.


--
Richard




More information about the Python-ideas mailing list