diff options
author | Zac Medico <zmedico@gentoo.org> | 2020-03-04 00:17:28 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-03-04 01:53:27 -0800 |
commit | 459b3535baa416888b546cd1635ae28324259a70 (patch) | |
tree | 4afa53d5707f29ef92663b61867cc32c090f4ae8 /lib/_emerge/EbuildBuild.py | |
parent | Rename PORTAGE_LOG_FILTER_FILE_CMD from PORTAGE_LOG_FILTER_FILE (diff) | |
download | portage-459b3535baa416888b546cd1635ae28324259a70.tar.gz portage-459b3535baa416888b546cd1635ae28324259a70.tar.bz2 portage-459b3535baa416888b546cd1635ae28324259a70.zip |
SequentialTaskQueue: update bool(self) sooner (bug 711322)
Use addExitListener to add a _task_exit callback that will be invoked
as soon as the task exits (before the future's done callback is called).
This is required in order for bool(self) to have an updated value for
Scheduler._schedule to base assumptions upon. Delayed updates to
bool(self) is what caused Scheduler to hang as in bug 711322.
This reverts changes in SequentialTaskQueue task queue exit listener
behavior from commit c7e52d046621, so that only the changes necessary
to support async_start remain.
Fixes: c7e52d046621 ("EbuildPhase: add _async_start coroutine")
Bug: https://bugs.gentoo.org/711322
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/_emerge/EbuildBuild.py')
0 files changed, 0 insertions, 0 deletions