]> Git Repo - qemu.git/commit - include/qemu/thread-posix.h
semaphore: implement fallback counting semaphores with mutex+condvar
authorPaolo Bonzini <[email protected]>
Fri, 2 Nov 2012 14:43:21 +0000 (15:43 +0100)
committerAnthony Liguori <[email protected]>
Fri, 2 Nov 2012 18:07:54 +0000 (13:07 -0500)
commitc166cb72f1676855816340666c3b618beef4b976
tree25fb0c400c873eec5e3c9f4c3021c9a9d025b511
parent1f001dc7bc9e435bf231a5b0edcad1c7c2bd6214
semaphore: implement fallback counting semaphores with mutex+condvar

OpenBSD and Darwin do not have sem_timedwait.  Implement a fallback
for them.

Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
qemu-thread-posix.c
qemu-thread-posix.h
This page took 0.024137 seconds and 4 git commands to generate.