aboutsummaryrefslogtreecommitdiff
path: root/qint.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-01-31 18:26:40 +0000
committerAurelien Jarno <aurelien@aurel32.net>2011-02-20 15:20:06 +0100
commit02615337ef295443daa03233e492194e289a807e (patch)
treed5371767bd220b03d2cd3d6f7aba5bfb0c366850 /qint.h
parent322fd48afbed1ef7b834ac343a0c8687bcb33695 (diff)
qemu-lock.h: Remove non-pthreads spinlock implementations
Since configure guarantees us that we have pthreads on all hosts except mingw (which doesn't support a USER_ONLY config), we can and should use the pthread_mutex based implementation of spin_lock() and spin_unlock() in all USER_ONLY cases. This means that all the inline-native-assembly code supporting the "USER_ONLY but not USE_NPTL" case can go away. The not-USER_ONLY case remains as empty implementations; there is no change in behaviour here. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'qint.h')
0 files changed, 0 insertions, 0 deletions