summaryrefslogtreecommitdiffstats
path: root/qemu-thread-posix.h
Commit message (Collapse)AuthorAgeFilesLines
* semaphore: implement fallback counting semaphores with mutex+condvarPaolo Bonzini2012-11-021-0/+6
| | | | | | | | 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>
* qemu-thread: add QemuSemaphorePaolo Bonzini2012-10-311-0/+5
| | | | | | | | The new thread pool will use semaphores instead of condition variables, because QemuCond does not have qemu_cond_timedwait. (I also like it more this way). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* add Win32 IPI servicePaolo Bonzini2011-03-131-1/+0
| | | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* add win32 qemu-thread implementationPaolo Bonzini2011-03-131-0/+18
For now, qemu_cond_timedwait and qemu_mutex_timedlock are left as POSIX-only functions. They can be removed later, once the patches that remove their uses are in. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
OpenPOWER on IntegriCloud