Revision 2f7bb878 qemu-lock.h

b/qemu-lock.h
23 23
   likely to release it soon.  In environments where you have more threads
24 24
   than physical CPUs (the extreme case being a single CPU host) a spinlock
25 25
   simply wastes CPU until the OS decides to preempt it.  */
26
#if defined(USE_NPTL)
26
#if defined(CONFIG_USE_NPTL)
27 27

  
28 28
#include <pthread.h>
29 29
#define spin_lock pthread_mutex_lock

Also available in: Unified diff