summaryrefslogtreecommitdiffstats
path: root/pym/portage/util/_async
Commit message (Collapse)AuthorAgeFilesLines
* Add emirrordist, a tool for mirroring distfiles.Zac Medico2013-01-091-0/+17
| | | | | Special thanks to Brian Harring, author of the mirror-dist program from which emirrordist is derived.
* PipeLogger: handle file object for input_fdZac Medico2013-01-071-4/+12
|
* _keep_scheduling: check _terminated.is_set()Zac Medico2013-01-061-2/+2
| | | | | This ensures that scheduling loops terminate as soon as possible after an interrupt is received.
* Handle os.write() return code with loop.Zac Medico2013-01-051-6/+4
|
* Add async FileDigester class.Zac Medico2013-01-051-0/+73
|
* SchedulerInterface: use loop for proxied attrsZac Medico2013-01-041-16/+9
|
* Enable FD_CLOEXEC for non-blocking pipes.Zac Medico2013-01-031-2/+10
|
* Add run_main_scheduler helper function.Zac Medico2012-12-281-0/+41
|
* PipeReaderBlockingIO handle threading ImportErrorZac Medico2012-12-271-1/+5
|
* Add PipeReaderBlockingIO, Jython experimentation.Zac Medico2012-12-271-0/+87
|
* PipeLogger/Reader: remove redundant isAlive()Zac Medico2012-10-181-3/+0
| | | | Parent class AbstractPollTask has equivalent implementation.
* SpawnProcess: split out a PipeLogger classZac Medico2012-10-181-0/+149
| | | | | | The copyright dates for these classes begin in 2008, since SpawnProcess code is derived from the EbuildFetcherAsync class which was added in commit e4edadf5ae7063f375d76be151c6d0e949980ecf in 2008.
* PopenProcess: child_watch_add if no pipe_readerZac Medico2012-10-171-4/+6
|
* CompositeTask._start_task: propagate schedulerZac Medico2012-10-161-0/+4
|
* PopenProcess: integrate PipeReader supportZac Medico2012-10-161-2/+14
|
* Add missing PopenProcess class from last commit.Zac Medico2012-10-151-0/+15
|
* PollScheduler: disable default _loadavg_latencyZac Medico2012-10-081-1/+3
| | | | | | Move the 30 second default to the Scheduler class, since that's the only place that it's currently needed (all other schedulers have relatively short-running jobs).
* ForkProcess: set _exit finally block before forkZac Medico2012-10-081-27/+38
| | | | This is the most reliable way to handle the race condition.
* ForkProcess: increase scope of try/finally/_exitZac Medico2012-10-081-9/+11
| | | | | This minimizes the probability of triggering irrelevant finally blocks from earlier in the call stack (bug #345289).
* PollScheduler: rename sched_iface to _sched_ifaceZac Medico2012-10-071-7/+7
| | | | | | It isn't used externally anymore, since SchedulerInterface is used directly in those places now. Many of the self.sched_iface references updated here, it's more appropriate to use self._event_loop.
* PollScheduler: split out SchedulerInterfaceZac Medico2012-10-071-0/+86
|
* AsyncScheduler: remove useless __slots__Zac Medico2012-10-052-6/+0
| | | | | | It's not allowed for AsyncScheduler to inherit from two classes that define __slots__, so it useless to define __slots__ for AsyncScheduler and subclasses.
* TaskScheduler: inherit AsyncSchedulerZac Medico2012-10-051-0/+22
| | | | This allows the QueueScheduler class to be eliminated.
* AsyncScheduler: poll in _schedule_tasksZac Medico2012-10-031-0/+3
| | | | Triggers cleanup and exit listeners if there's nothing left to do.
* AsyncScheduler: implement _pollZac Medico2012-10-031-0/+5
|
* AsyncScheduler: use _termination_checkZac Medico2012-10-031-1/+1
| | | | | The _terminate_tasks method is always supposed to be called via _termination_check.
* AsyncScheduler: source_remove in _waitZac Medico2012-10-031-0/+8
|
* EbuildFetcher/MergeProcess: inherit ForkProcessZac Medico2012-10-031-0/+2
| | | | | Also add missing __slots__ to ForkProcess. TODO: Share code between ForkProcess and MergeProcess.
* egencache: add --update-manifests, bug #436918Zac Medico2012-10-033-0/+138
Update manifest files, and sign them if signing is enabled. This supports parallelization if enabled via the --jobs option. The --thin-manifests and --sign-manifests options may be used to manually override layout.conf settings. There's also a new --strict-manifests option that may be used to manually override the "strict" FEATURES setting, a --gpg-key option to override PORTAGE_GPG_KEY, and a --gpg-dir option to override PORTAGE_GPG_DIR.