Searched defs:lockword64 (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsynch.c320 clear_lockbyte64(volatile uint64_t *lockword64) argument
326 old = *lockword64;
328 } while (atomic_cas_64(lockword64, old, new) != old);
356 set_lock_byte64(volatile uint64_t *lockword64, pid_t ownerpid) argument
361 old = *lockword64 & ~LOCKMASK64;
363 if (atomic_cas_64(lockword64, old, new) == old)

Completed in 70 milliseconds