_emerge.SequentialTaskQueue module

class _emerge.SequentialTaskQueue.SequentialTaskQueue(**kwargs)

Bases: portage.util.SlotObject.SlotObject

_scheduling
_task_exit(task)

Since we can always rely on exit listeners being called, the set of running tasks is always pruned automatically and there is never any need to actively prune it.

_task_queue
add(task)
addFront(task)
clear()

Clear the task queue and asynchronously terminate any running tasks.

copy()

Create a new instance and copy all attributes defined from __slots__ (including those from inherited classes).

max_jobs
running_tasks
schedule()
async wait(loop=None)

Wait for the queue to become empty. This method is a coroutine.