Lines Matching refs:mutex

421               pthread_mutex_t *mutex,
429 fprintf(stderr, "<< pthread_mxinit %p", mutex); fflush(stderr);
440 CALL_FN_W_WW(ret, fn, mutex,attr);
444 pthread_mutex_t*,mutex, long,mbRec);
460 pthread_mutex_t *mutex)
468 fprintf(stderr, "<< pthread_mxdestroy %p", mutex); fflush(stderr);
471 if (mutex != NULL) {
473 mutex_is_init = my_memcmp(mutex, &mutex_init, sizeof(*mutex)) == 0;
479 pthread_mutex_t*, mutex, unsigned long, mutex_is_init);
481 CALL_FN_W_W(ret, fn, mutex);
498 pthread_mutex_t *mutex)
504 fprintf(stderr, "<< pthread_mxlock %p", mutex); fflush(stderr);
508 pthread_mutex_t*,mutex, long,0/*!isTryLock*/);
510 CALL_FN_W_W(ret, fn, mutex);
519 pthread_mutex_t*,mutex);
542 pthread_mutex_t *mutex)
548 fprintf(stderr, "<< pthread_mxtrylock %p", mutex); fflush(stderr);
552 pthread_mutex_t*,mutex, long,1/*isTryLock*/);
554 CALL_FN_W_W(ret, fn, mutex);
563 pthread_mutex_t*,mutex);
582 pthread_mutex_t *mutex,
589 fprintf(stderr, "<< pthread_mxtimedlock %p %p", mutex, timeout);
594 pthread_mutex_t*,mutex, long,1/*isTryLock-ish*/);
596 CALL_FN_W_WW(ret, fn, mutex,timeout);
605 pthread_mutex_t*,mutex);
622 pthread_mutex_t *mutex)
629 fprintf(stderr, "<< pthread_mxunlk %p", mutex); fflush(stderr);
633 pthread_mutex_t*,mutex);
635 CALL_FN_W_W(ret, fn, mutex);
639 pthread_mutex_t*,mutex);
670 pthread_mutex_t* mutex)
679 fprintf(stderr, "<< pthread_cond_wait %p %p", cond, mutex);
685 thinks the mutex is valid or not. */
688 pthread_cond_t*,cond, pthread_mutex_t*,mutex);
691 /* Tell the tool we're about to drop the mutex. This reflects the
692 fact that in a cond_wait, we show up holding the mutex, and the
693 call atomically drops the mutex and waits for the cv to be
697 pthread_mutex_t*,mutex);
700 CALL_FN_W_WW(ret, fn, cond,mutex);
705 /* and now we have the mutex again */
707 pthread_mutex_t*,mutex);
712 pthread_cond_t*,cond, pthread_mutex_t*,mutex, long,0);
727 pthread_cond_t* cond, pthread_mutex_t* mutex) {
728 return pthread_cond_wait_WRK(cond, mutex);
732 pthread_cond_t* cond, pthread_mutex_t* mutex) {
733 return pthread_cond_wait_WRK(cond, mutex);
751 pthread_mutex_t* mutex,
762 cond, mutex, abstime);
768 thinks the mutex is valid or not. */
771 pthread_cond_t*,cond, pthread_mutex_t*,mutex);
776 /* Tell the tool we're about to drop the mutex. This reflects the
777 fact that in a cond_wait, we show up holding the mutex, and the
778 call atomically drops the mutex and waits for the cv to be
782 pthread_mutex_t*,mutex);
785 CALL_FN_W_WWW(ret, fn, cond,mutex,abstime);
794 /* and now we have the mutex again */
796 pthread_mutex_t*,mutex);
801 pthread_cond_t*,cond, pthread_mutex_t*,mutex,
817 pthread_cond_t* cond, pthread_mutex_t* mutex,
819 return pthread_cond_timedwait_WRK(cond, mutex, abstime);
823 pthread_cond_t* cond, pthread_mutex_t* mutex,
825 return pthread_cond_timedwait_WRK(cond, mutex, abstime);
828 pthread_cond_t* cond, pthread_mutex_t* mutex,
830 return pthread_cond_timedwait_WRK(cond, mutex, abstime);
833 pthread_cond_t* cond, pthread_mutex_t* mutex,
2267 // is that of the mutex and the second is either zero or one,
2271 static void* QMutex_constructor_WRK(void* mutex, long recmode)
2276 CALL_FN_W_WW(ret, fn, mutex, recmode);
2279 void*,mutex, long,1/*mbRec*/);
2293 static void* QMutex_destructor_WRK(void* mutex)
2299 void*,mutex);
2300 CALL_FN_W_W(ret, fn, mutex);
2314 void* mutex,
2333 QT4_FUNC(void*, _ZN6QMutexD2Ev, void* mutex)