aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-03-05 19:15:40 -0800
committerZac Medico <zmedico@gentoo.org>2020-03-05 19:29:07 -0800
commitca053dec87ea593596f83e8d20c63b40678bf03a (patch)
treeb21499f0a843be8877255e6fd99918488a376a19 /lib/_emerge/CompositeTask.py
parentAsynchronousTask: schedule exit listeners via call_soon (bug 711322) (diff)
downloadportage-ca053dec87ea593596f83e8d20c63b40678bf03a.tar.gz
portage-ca053dec87ea593596f83e8d20c63b40678bf03a.tar.bz2
portage-ca053dec87ea593596f83e8d20c63b40678bf03a.zip
Scheduler: replace add_done_callback with addExitListener
For simplicity, use addExitListener instead of add_done_callback, since addExitListener has been fixed to use call_soon in commit 46903f3e5622. Note that each addExitListener call occurs *after* a call to the SequentialTaskQueue add method, since the SequentialTaskQueue needs to be notified of task exit *first* (see commit 459b3535baa4). Bug: https://bugs.gentoo.org/711322 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/_emerge/CompositeTask.py')
0 files changed, 0 insertions, 0 deletions