Home
last modified time | relevance | path

Searched refs:SPIN_COUNT (Results 1 – 4 of 4) sorted by relevance

/freebsd-10-stable/lib/libthr/thread/
Dthr_pspinlock.c37 #define SPIN_COUNT 100000 macro
104 count = SPIN_COUNT; in _pthread_spin_lock()
113 count = SPIN_COUNT; in _pthread_spin_lock()
/freebsd-10-stable/lib/libkse/thread/
Dthr_pspinlock.c40 #define SPIN_COUNT 10000 macro
124 count = SPIN_COUNT; in _pthread_spin_lock()
131 count = SPIN_COUNT; in _pthread_spin_lock()
/freebsd-10-stable/contrib/ntp/sntp/libevent/
Devthread_win32.c48 #define SPIN_COUNT 2000 macro
56 if (InitializeCriticalSectionAndSpinCount(lock, SPIN_COUNT) == 0) { in evthread_win32_lock_create()
195 if (InitializeCriticalSectionAndSpinCount(&cond->lock, SPIN_COUNT)==0) { in evthread_win32_cond_alloc()
/freebsd-10-stable/sys/dev/cmx/
Dcmx.c70 #define SPIN_COUNT 1000 macro
308 for (int i = 0; i < SPIN_COUNT; i++) { in cmx_wait_BSR()