Home
last modified time | relevance | path

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

/third_party/musl/src/thread/
Dvmlock.c4 static volatile int vmlock[2]; variable
5 volatile int *const __vmlock_lockptr = vmlock;
10 while ((tmp=vmlock[0])) in __vm_wait()
11 __wait(vmlock, vmlock+1, tmp, 1); in __vm_wait()
16 a_inc(vmlock); in __vm_lock()
21 if (a_fetch_add(vmlock, -1)==1 && vmlock[1]) in __vm_unlock()
22 __wake(vmlock, -1, 1); in __vm_unlock()
/third_party/musl/
Dmusl_src.gni1496 "src/thread/vmlock.c",