Three fixes: 1) Darwin does not support weak aliases, use weak references instead. 2) Darwin, NetBSD and OpenBSD do not have sem_timedwait, implement counting semaphores with a mutex and cv there. 3) Daemonize was broken, fixes are in patches 3-5.
Paolo Bonzini (5): compiler: support Darwin weak references semaphore: implement fallback counting semaphores with mutex+condvar qemu-timer: reinitialize timers after fork vl: unify calls to init_timer_alarm vl: delay thread initialization after daemonization compiler.h | 9 +++++- main-loop.c | 6 ++-- osdep.c | 56 ++++++++++++++++++-------------- oslib-win32.c | 12 ++++--- qemu-sockets.c | 40 ++++++++++++----------- qemu-thread-posix.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++------ qemu-thread-posix.h | 6 ++++ qemu-timer.c | 14 ++++++++ qmp.c | 2 ++ vl.c | 9 ++---- 10 file modificati, 180 inserzioni(+), 66 rimozioni(-) -- 1.7.12.1