Searched refs:pthread_mutex_trylock (Results 1 – 25 of 43) sorted by relevance
12
47 if (pthread_mutex_trylock(&mtx1) == 0) // no-warning in ok5()77 if (pthread_mutex_trylock(&mtx1) == 0) // no-warning in ok9()84 if (pthread_mutex_trylock(&mtx1) != 0) // no-warning in ok10()208 if (pthread_mutex_trylock(&mtx1)) // no-warning in bad4()
15 if (pthread_mutex_trylock(p) != 0) in lock_twice()17 if (pthread_mutex_trylock(p) != 0) in lock_twice()
10 at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?)
16 Locking mutex via pthread_mutex_trylock().
25 at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?)
65 r = pthread_mutex_trylock(&mutex); assert(r == 0); in main()
44 if (pthread_mutex_trylock(&incrementer_thread_exit_mutex) == 0) { in IncrementerThread()133 if (pthread_mutex_trylock(&advanced_incrementer_thread_exit_mutex) == 0) { in AdvancedIncrementerThread()
39 return pthread_mutex_trylock(&__m_) == 0; in try_lock()107 return pthread_mutex_trylock(&__m_) == 0; in try_lock()
22 extern int pthread_mutex_trylock(pthread_mutex_t *);
25 if (pthread_mutex_trylock(&m) != EOWNERDEAD) { in main()
60 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { in INTERCEPTOR() argument62 int res = REAL(pthread_mutex_trylock)(m); in INTERCEPTOR()301 INTERCEPT_FUNCTION(pthread_mutex_trylock); in InitializeInterceptors()
59 return (pthread_mutex_trylock(&os_lock_) == 0);
119 int res = pthread_mutex_trylock (&mMutex); in tryLock()
67 if (::pthread_mutex_trylock (m_pMutex) != 0) in Lock()
112 return (pthread_mutex_trylock((pthread_mutex_t*)mutex) == 0); in deMutex_tryLock()
109 int errorcode = pthread_mutex_trylock(mutex); in tryacquire()
39 …kP15pthread_mutex_t = weak alias i32 (%struct.pthread_mutex_t*)* @pthread_mutex_trylock ; <i32 (%…90 define i32 @pthread_mutex_trylock(%struct.pthread_mutex_t*) {
71 int result = pthread_mutex_trylock(mutex); in TryLockNativeHandle()
26 …kP15pthread_mutex_t = weak alias i32 (%struct.pthread_mutex_t*)* @pthread_mutex_trylock ; <i32 (%…80 define i32 @pthread_mutex_trylock(%struct.pthread_mutex_t*) {
75 static INLINE int pthread_mutex_trylock(pthread_mutex_t *const mutex) { in pthread_mutex_trylock() function
75 Thread #x's call to pthread_mutex_trylock failed77 at 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
66 Thread #x's call to pthread_mutex_trylock failed68 at 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
127 bool Mutex::TryLock() { return pthread_mutex_trylock(&mutex_) == 0; } in TryLock()