Skip to content
Commit 57249316 authored by Richard Purdie's avatar Richard Purdie Committed by Steve Sakoman
Browse files

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.

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e19f31a)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 760cc905
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment