qemu/include
Longpeng(Mike) f9fc8932b1 thread-posix: remove the posix semaphore support
POSIX specifies an absolute time for sem_timedwait(), it would be
affected if the system time is changing, but there is not a relative
time or monotonic clock version of sem_timedwait, so we cannot gain
from POSIX semaphore any more.

An alternative way is to use sem_trywait + usleep, maybe we can
remove CONFIG_SEM_TIMEDWAIT in this way? No, because some systems
(e.g. mac os) mark the sem_xxx API as deprecated.

So maybe remove the usage of POSIX semaphore and turn to use the
pthread variant for all systems looks better.

Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
Message-Id: <20220222090507.2028-2-longpeng2@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-04-06 14:31:55 +02:00
..
authz
block block: pass desired TLS hostname through from block driver client 2022-03-07 15:58:42 -06:00
chardev Replace GCC_FMT_ATTR with G_GNUC_PRINTF 2022-03-22 14:40:51 +04:00
crypto
disas Replace GCC_FMT_ATTR with G_GNUC_PRINTF 2022-03-22 14:40:51 +04:00
exec include: move target page bits declaration to page-vary.h 2022-04-06 14:31:43 +02:00
fpu Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
hw include: move page_size_init() to include/hw/core/cpu.h 2022-04-06 14:31:43 +02:00
io
libdecnumber Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
migration migration: Remove load_state_old and minimum_version_id_old 2022-03-02 18:20:45 +00:00
monitor Replace GCC_FMT_ATTR with G_GNUC_PRINTF 2022-03-22 14:40:51 +04:00
net Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
qapi include/qapi: add g_autoptr support for qobject types 2022-04-06 10:50:38 +02:00
qemu thread-posix: remove the posix semaphore support 2022-04-06 14:31:55 +02:00
qom compiler.h: replace QEMU_SENTINEL with G_GNUC_NULL_TERMINATED 2022-03-22 14:40:51 +04:00
scsi
semihosting
standard-headers headers: Add pvpanic.h 2022-03-06 05:08:23 -05:00
sysemu whpx: Added support for breakpoints and stepping 2022-04-06 14:31:55 +02:00
tcg tcg: Add opcodes for vector nand, nor, eqv 2022-03-04 08:50:41 -10:00
ui Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
user
elf.h
glib-compat.h error-report: replace deprecated g_get_current_time() with glib >= 2.62 2022-04-06 14:31:43 +02:00
qemu-common.h Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
qemu-io.h