summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/AbstractPollTask.py
Commit message (Collapse)AuthorAgeFilesLines
* Scheduler: tweak prefetcher cancellation logicZac Medico2011-03-161-0/+3
| | | | | This should prevent "TypeError: an integer is required" raised from waitpid when trying to cancel a prefetcher that never started.
* AbstractPollTask: log exceptional eventsZac Medico2011-03-091-1/+10
| | | | | | | | | | | | | | | | Previously, when AbstractPollTask receives a POLLERR or POLLNVAL event, it would silently cancel the task. Now it will generate a message like this: !!! SpawnProcess received strange poll event: 8 The message is displayed via a new _log_poll_exception method, which is overridden by AbstractEbuildProcess to log the message via elog. This might help diagnose reported cases of SIGTERM signals killing ebuild processes for no apparent reason: http://code.google.com/p/chromium-os/issues/detail?id=12968
* Split out a AbstractPollTask._read_buf() helper method.Zac Medico2010-09-091-1/+24
|
* Add back the POLLHUP handling for now since PipeReaderTestCase breaksZac Medico2010-08-131-1/+5
| | | | without it.
* Stop handling POLLHUP events, since we're only polling for input andZac Medico2010-08-131-5/+1
| | | | | | POLLHUP is really intendend for purposes of output polling. Hopefully this solves a problem with POLLHUP events causing premature unregistration of event handlers (and subsequent hang in waitpid).
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Add/update copyright headers.Zac Medico2009-06-251-0/+4
| | | | svn path=/main/trunk/; revision=13690
* Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks toZac Medico2009-06-221-0/+24
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663