Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_libdispatch.cpp322 dispatch_semaphore_t dsema) { in TSAN_INTERCEPTOR() argument
323 SCOPED_TSAN_INTERCEPTOR(dispatch_semaphore_signal, dsema); in TSAN_INTERCEPTOR()
324 Release(thr, pc, (uptr)dsema); in TSAN_INTERCEPTOR()
325 return REAL(dispatch_semaphore_signal)(dsema); in TSAN_INTERCEPTOR()
328 TSAN_INTERCEPTOR(long_t, dispatch_semaphore_wait, dispatch_semaphore_t dsema, in TSAN_INTERCEPTOR() argument
330 SCOPED_TSAN_INTERCEPTOR(dispatch_semaphore_wait, dsema, timeout); in TSAN_INTERCEPTOR()
331 long_t result = REAL(dispatch_semaphore_wait)(dsema, timeout); in TSAN_INTERCEPTOR()
332 if (result == 0) Acquire(thr, pc, (uptr)dsema); in TSAN_INTERCEPTOR()