qemu-e2k/include
Izumi Tsutsui 79761c6681 semaphore: fix a hangup problem under load on NetBSD hosts.
Fix following bugs in "fallback implementation of counting semaphores
with mutex+condvar" added in c166cb72f1:
 - waiting threads are not restarted properly if more than one threads
   are waiting unblock signals in qemu_sem_timedwait()
 - possible missing pthread_cond_signal(3) calls when waiting threads
   are returned by ETIMEDOUT
 - fix an uninitialized variable
The problem is analyzed by and fix is provided by Noriyuki Soda.

Also put additional cleanup suggested by Laszlo Ersek:
 - make QemuSemaphore.count unsigned (it won't be negative)
 - check a return value of in pthread_cond_wait() in qemu_sem_wait()

Signed-off-by: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-id: 1372841894-10634-1-git-send-email-tsutsui@ceres.dti.ne.jp
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-08-05 11:48:00 -05:00
..
block block: Repair the throttling code. 2013-07-29 17:07:37 +02:00
disas
exec exec: Remove env from list of poisoned names 2013-07-27 11:22:54 +04:00
fpu
hw pc: limit 64 bit hole to 2G by default 2013-07-29 19:33:34 -05:00
migration migration: fix spice migration 2013-07-29 17:19:02 +02:00
monitor net: add support of mac-programming over macvtap in QEMU side 2013-07-15 21:23:08 +03:00
net net: add support of mac-programming over macvtap in QEMU side 2013-07-15 21:23:08 +03:00
qapi Implement qdict_flatten() 2013-07-26 22:01:31 +02:00
qemu semaphore: fix a hangup problem under load on NetBSD hosts. 2013-08-05 11:48:00 -05:00
qom cpu: Introduce CPUClass::gdb_core_xml_file for GDB_CORE_XML 2013-07-27 00:04:17 +02:00
sysemu Merge remote-tracking branch 'spice/spice.v72' into staging 2013-07-30 18:48:58 -05:00
ui spice: fix display initialization 2013-07-30 10:25:47 +02:00
config.h
elf.h s390: Implement dump-guest-memory support for target s390x 2013-07-30 16:12:25 +02:00
glib-compat.h
qemu-common.h Introduce async_run_on_cpu() 2013-07-12 19:36:01 +02:00
qemu-io.h
trace.h