diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-05 19:15:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-15 17:18:21 +0100 |
commit | 6ad4febbcdb3e0024c888367f2af48a5222292f5 (patch) | |
tree | b08fb3eb05ec073aa1482659add3969568e02471 /bitbake | |
parent | 6f1d6448c5b2711f04e6b3798aef10b39669bcac (diff) | |
download | poky-6ad4febbcdb3e0024c888367f2af48a5222292f5.tar.gz |
oeqa/qemurunner: Improve logging thread exit handling for qemu shutdown test
Rather than totally disabling the logging, inform it we're about to exit
so we can log messages over the exit cleanly too. This aids debugging. It
also avoids a race where the logging handler could still error whilst
shutting down.
Also remove a race window by notificing the handler of the shutdown
first, before triggering it. This removes a race window I watched in
local testing.
(From OE-Core rev: 7f931dce4484a2740b419b2d25830fc453748a0c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e19f31a1005f94105e1cef252abfffcef2aafad)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
0 files changed, 0 insertions, 0 deletions