Home
last modified time | relevance | path

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

/xnu-10002.81.5/tests/
H A Dturnstile_multihop_helper.h62 _os_get_self(void) in _os_get_self() function
78 u32 thread_id = _os_get_self() & ~0x3u; in ull_lock()
80 u32 mach_id = _os_get_self() >> 2; in ull_lock()
154 u32 thread_id = _os_get_self() & ~0x3u; in ull_unlock()
156 u32 mach_id = _os_get_self() >> 2; in ull_unlock()
173 if ((flags & ULF_WAKE_THREAD) && (_os_get_self() == main_thread_name)) { in ull_unlock()
H A Dulock.c18 _os_get_self(void) in _os_get_self() function
72 atomic_store_explicit(&test_ulock, _os_get_self() & ~0x3u, memory_order_relaxed);