Searched refs:pthread_mutex_trylock (Results 1 – 25 of 79) sorted by relevance
1234
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()
47 rc = pthread_mutex_trylock(&mutex); in main()59 rc = pthread_mutex_trylock(&mutex); in main()
111 td->status = pthread_mutex_trylock(&(td->mtx)); in tf()294 ret = pthread_mutex_trylock(&(td->mtx)); in main()298 ret = pthread_mutex_trylock(&(td->mtx)); in main()
134 td->status = pthread_mutex_trylock(&(td->mtx)); in tf()329 ret = pthread_mutex_trylock(&(td->mtx)); in main()333 ret = pthread_mutex_trylock(&(td->mtx)); in main()
35 rc = pthread_mutex_trylock(&mutex); in main()
30 if ((rc = pthread_mutex_trylock(&mutex)) == 0) { in main()
248 ret = pthread_mutex_trylock(&mtx[count_ope % (NSCENAR + 2)]); in test()256 ret = pthread_mutex_trylock(&mtx[count_ope % (NSCENAR + 2)]); in test()
1 This document defines the coverage for the pthread_mutex_trylock function:
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()
20 pthread_mutex_trylock(&a); in dummy_func()
57 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { in INTERCEPTOR() argument59 int res = REAL(pthread_mutex_trylock)(m); in INTERCEPTOR()298 INTERCEPT_FUNCTION(pthread_mutex_trylock); in InitializeInterceptors()
166 ret = pthread_mutex_trylock(td->mtx); in threaded()351 ret = pthread_mutex_trylock(td.mtx); in main()
44 if ((rc = pthread_mutex_trylock(&mutex)) != 0) { in main()
22 extern int pthread_mutex_trylock(pthread_mutex_t *);
25 if (pthread_mutex_trylock(&m) != EOWNERDEAD) { in main()
59 return (pthread_mutex_trylock(&os_lock_) == 0);
97 ret = pthread_mutex_trylock(&(data.mtx)); in clnp1()403 ret = pthread_mutex_trylock(&(data.mtx)); in main()
21 …_mutex_trylockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @pthread_mutex_trylock59 declare extern_weak i32 @pthread_mutex_trylock(%union.pthread_mutex_t*)
24 …_mutex_trylockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @pthread_mutex_trylock64 declare extern_weak i32 @pthread_mutex_trylock(%union.pthread_mutex_t*)
38 #define usbi_mutex_trylock pthread_mutex_trylock
108 ret = pthread_mutex_trylock(&(data.mtx1)); in threaded()146 ret = pthread_mutex_trylock(&(data.mtx2)); in threaded()
71 ret = pthread_mutex_trylock(&(data.mtx)); in clnp1()402 ret = pthread_mutex_trylock(&(data.mtx)); in main()
42 return pthread_mutex_trylock(&mutex) == 0; in attemptLock()
112 return (pthread_mutex_trylock((pthread_mutex_t*)mutex) == 0); in deMutex_tryLock()