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

/freebsd-10-stable/lib/libthr/thread/
H A Dthr_pspinlock.c37 #define SPIN_COUNT 100000 macro
104 count = SPIN_COUNT;
113 count = SPIN_COUNT;
/freebsd-10-stable/lib/libkse/thread/
H A Dthr_pspinlock.c40 #define SPIN_COUNT 10000 macro
124 count = SPIN_COUNT;
131 count = SPIN_COUNT;
/freebsd-10-stable/contrib/ntp/sntp/libevent/
H A Devthread_win32.c48 #define SPIN_COUNT 2000 macro
56 if (InitializeCriticalSectionAndSpinCount(lock, SPIN_COUNT) == 0) {
195 if (InitializeCriticalSectionAndSpinCount(&cond->lock, SPIN_COUNT)==0) {
/freebsd-10-stable/sys/dev/cmx/
H A Dcmx.c70 #define SPIN_COUNT 1000 macro
297 * Will spin SPIN_COUNT times, then sleep until timeout is reached.
308 for (int i = 0; i < SPIN_COUNT; i++) {

Completed in 120 milliseconds