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 sbt
Recipients neologix, pitrou, sbt
Date 2013-01-06.19:49:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357501755.33.0.743815825748.issue16873@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a version which uses epoll to service a number of pipes which is larger than maxevents.  (If NUM_WRITERS is too large then I get "OSError: [Errno 24] Too many open files".)

All pipes get serviced and the output is:

Working with 20 FDs, 5 maxevents
[5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43]
[15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43]
[25, 27, 29, 31, 33, 35, 37, 39, 41, 43]
[35, 37, 39, 41, 43]

The lists show the (sorted) unseen writers at each loop.
History
Date User Action Args
2013-01-06 19:49:15sbtsetrecipients: + sbt, pitrou, neologix
2013-01-06 19:49:15sbtsetmessageid: <1357501755.33.0.743815825748.issue16873@psf.upfronthosting.co.za>
2013-01-06 19:49:15sbtlinkissue16873 messages
2013-01-06 19:49:15sbtcreate