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

/osnet-11/usr/src/lib/libc/port/threads/
H A Dsynch.c318 clear_lockbyte64(volatile uint64_t *lockword64) argument
324 old = *lockword64;
326 } while (atomic_cas_64(lockword64, old, new) != old);
354 set_lock_byte64(volatile uint64_t *lockword64, pid_t ownerpid) argument
359 old = *lockword64 & ~LOCKMASK64;
361 if (atomic_cas_64(lockword64, old, new) == old)

Completed in 28 milliseconds