summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRobert Foley2019-11-18 22:15:25 +0100
committerAlex Bennée2019-12-18 21:18:02 +0100
commitb8121fe7c005dc3d56e82a0a5ce00563a5fd49d0 (patch)
treedea1643897c884bced66717121925c30f901f71a /target
parentCleaned up flow of code in qemu_set_log(), to simplify and clarify. (diff)
downloadqemu-b8121fe7c005dc3d56e82a0a5ce00563a5fd49d0.tar.gz
qemu-b8121fe7c005dc3d56e82a0a5ce00563a5fd49d0.tar.xz
qemu-b8121fe7c005dc3d56e82a0a5ce00563a5fd49d0.zip
Add a mutex to guarantee single writer to qemu_logfile handle.
Also added qemu_logfile_init() for initializing the logfile mutex. Note that inside qemu_set_log() we needed to add a pair of qemu_mutex_unlock() calls in order to avoid a double lock in qemu_log_close(). This unavoidable temporary ugliness will be cleaned up in a later patch in this series. Signed-off-by: Robert Foley <robert.foley@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20191118211528.3221-4-robert.foley@linaro.org>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions