commit | c166cb72f1676855816340666c3b618beef4b976 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 02 15:43:21 2012 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Nov 02 13:07:54 2012 -0500 |
tree | 25fb0c400c873eec5e3c9f4c3021c9a9d025b511 | |
parent | 1f001dc7bc9e435bf231a5b0edcad1c7c2bd6214 [diff] |
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 <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>