diff options
author | Zac Medico <zmedico@gentoo.org> | 2020-03-05 08:45:25 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-03-05 15:30:03 -0800 |
commit | 46903f3e5622bc479d4687c76c0e9fada8eb53db (patch) | |
tree | 152c15e5445ebe892a4893f3502c97e5464eefed /bin/install-qa-check.d/05prefix | |
parent | repoman: remove check for addpredict (diff) | |
download | portage-46903f3e5622bc479d4687c76c0e9fada8eb53db.tar.gz portage-46903f3e5622bc479d4687c76c0e9fada8eb53db.tar.bz2 portage-46903f3e5622bc479d4687c76c0e9fada8eb53db.zip |
AsynchronousTask: schedule exit listeners via call_soon (bug 711322)
Schedule exit listeners via call_soon, in order to avoid callback races
like the SequentialTaskQueue exit listener race that triggered bug
711322. Callbacks scheduled via call_soon are placed in a fifo queue,
ensuring that they execute in an order that is unsurprising relative to
other callbacks.
Bug: https://bugs.gentoo.org/711322
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'bin/install-qa-check.d/05prefix')
0 files changed, 0 insertions, 0 deletions