Ticket #2354 defect new
Handling of EINTR in threadedselectreactor.py
| Reported by: | dkosovic | Owned by: | dkosovic |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
The select loop in twisted/internet/threadedselectreactor.py (or _threadedselect.py in SVN trunk) which handles EINTR returns immediately rather than retrying again with a continue statement e.g like the continue in the attached patch.
For me on Fedora Core 6 with wxPython, _doSelectInThread only occasionally does one successful iteration because of EINTR return statement.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

