]> Git Repo - qemu.git/commit - tcg/tcg.c
*: Use fprintf between qemu_log_trylock/unlock
authorRichard Henderson <[email protected]>
Sun, 17 Apr 2022 18:29:49 +0000 (11:29 -0700)
committerRichard Henderson <[email protected]>
Wed, 20 Apr 2022 17:51:11 +0000 (10:51 -0700)
commit78b548583e0725bb7054162a31dac552b01c02a8
treee8e56b975713665391fddd1534e8642ed000c29f
parent6fef222971e1f77d1e7b6c218edce72ceb568126
*: 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 <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Message-Id: <20220417183019[email protected]>
accel/tcg/cpu-exec.c
accel/tcg/translate-all.c
accel/tcg/translator.c
cpu.c
hw/net/can/can_sja1000.c
include/exec/log.h
net/can/can_socketcan.c
target/i386/tcg/translate.c
tcg/tcg.c
This page took 0.031443 seconds and 4 git commands to generate.