Home | History | Annotate | Download | only in src

Lines Matching refs:sl

1411 static int win32_acquire_lock (MLOCK_T *sl) {
1414 if (!InterlockedCompareExchange(sl, 1, 0))
1417 if (!InterlockedCompareExchange((void**)sl, (void*)1, (void*)0))
1424 static void win32_release_lock (MLOCK_T *sl) {
1425 InterlockedExchange (sl, 0);