summaryrefslogtreecommitdiffstats
path: root/qemu-thread.c
Commit message (Collapse)AuthorAgeFilesLines
* qemu-thread: add qemu_mutex/cond_destroy and qemu_mutex_exitCorentin Chary2010-07-271-0/+22
| | | | | | | | | Add some missing functions in qemu-thread. Currently qemu-thread is only used for io-thread but it will used by the vnc server soon and we need those functions instead of calling pthread directly. Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* make qemu_thread_create block all signalsPaolo Bonzini2010-06-141-0/+7
| | | | | | | All signals will thus be routed through the IO thread. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* qemu-thread: use pthread_equalSebastian Herbszt2009-07-221-1/+1
| | | | | | | | | | | | Fixes qemu-thread.c: In function `qemu_thread_equal': qemu-thread.c:161: error: invalid operands to binary == Use of pthread_equal suggested by Filip Navara. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* qemu: mutex/thread/cond wrappers and configure tweaks (Marcelo Tosatti)aliguori2009-04-241-0/+163
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7237 c046a42c-6fe2-441c-8c8c-71466251a162