Home
last modified time | relevance | path

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

/src/lib/libthr/thread/
H A Dthr_spinlock.c52 static int spinlock_count; variable
92 if ((lck->thr_extra == NULL) && (spinlock_count < MAX_SPINLOCKS)) { in init_spinlock()
93 lck->thr_extra = &extra[spinlock_count]; in init_spinlock()
94 _thr_umutex_init(&extra[spinlock_count].lock); in init_spinlock()
95 extra[spinlock_count].owner = lck; in init_spinlock()
96 spinlock_count++; in init_spinlock()
118 for (i = 0; i < spinlock_count; i++) in _thr_spinlock_init()