]> Git Repo - qemu.git/commit
qemu-thread: Assert locks are initialized before using
authorFam Zheng <[email protected]>
Tue, 4 Jul 2017 12:23:25 +0000 (20:23 +0800)
committerPaolo Bonzini <[email protected]>
Tue, 4 Jul 2017 12:39:28 +0000 (14:39 +0200)
commitc096358e747e88fc7364e40e3c354ee0bb683960
tree241c11c021450913505a090cf2cf5629c1488a41
parent025bdeab3c163aee9604a60b2332a5fcbcc00f8d
qemu-thread: Assert locks are initialized before using

Not all platforms check whether a lock is initialized before used.  In
particular Linux seems to be more permissive than OSX.

Check initialization state explicitly in our code to catch such bugs
earlier.

Signed-off-by: Fam Zheng <[email protected]>
Message-Id: <20170704122325[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
include/qemu/thread-posix.h
include/qemu/thread-win32.h
util/qemu-thread-posix.c
util/qemu-thread-win32.c
This page took 0.027083 seconds and 4 git commands to generate.