]> git.proxmox.com Git - mirror_qemu.git/commit - bsd-user/main.c
bsd-user: assume pthreads and support of __thread
authorWarner Losh <imp@bsdimp.com>
Tue, 3 Aug 2021 18:34:52 +0000 (12:34 -0600)
committerWarner Losh <imp@bsdimp.com>
Fri, 10 Sep 2021 20:13:06 +0000 (14:13 -0600)
commitd42df502e322100c1cae355efb8b8e380867c8fa
treee1594290647ce34413962666ac858db4748b7709
parentb62f790cfb2621ed1d4bd6ef6661fc68bab1e1ed
bsd-user: assume pthreads and support of __thread

All compilers for some time have supported this. Follow linux-user and
eliminate the #define THREAD and unconditionally insert __thread where
needed. Please insert: "(see 24cb36a61c6: "configure: Make NPTL
non-optional")"

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
bsd-user/main.c
bsd-user/qemu.h