Richard Henderson 78b548583e *: Use fprintf between qemu_log_trylock/unlock
Inside qemu_log, we perform qemu_log_trylock/unlock, which need
not be done if we have already performed the lock beforehand.

Always check the result of qemu_log_trylock -- only checking
qemu_loglevel_mask races with the acquisition of the lock on
the logfile.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220417183019.755276-10-richard.henderson@linaro.org>
2022-04-20 10:51:11 -07:00
..
2022-04-06 20:03:26 +01:00
2022-04-20 09:36:24 +02:00
2022-04-20 09:36:24 +02:00
2022-04-20 09:36:24 +02:00
2022-04-20 09:36:24 +02:00
2022-04-20 09:36:24 +02:00
2022-04-20 09:36:24 +02:00
2022-04-20 10:51:11 -07:00
2022-04-06 10:50:37 +02:00