Searched refs:mutexattr (Results 1 – 5 of 5) sorted by relevance
29 pthread_mutexattr_t mutexattr; in main() local47 pthread_mutexattr_init(&mutexattr); in main()48 pthread_mutexattr_settype(&mutexattr, PTHREAD_MUTEX_RECURSIVE); in main()49 pthread_mutex_init(&mutex, &mutexattr); in main()50 pthread_mutexattr_destroy(&mutexattr); in main()
82 pthread_mutexattr_t mutexattr; in Monitor() local83 pthread_mutexattr_init(&mutexattr); in Monitor()84 pthread_mutexattr_settype(&mutexattr, PTHREAD_MUTEX_RECURSIVE); in Monitor()85 pthread_mutex_init(&m_mutex, &mutexattr); in Monitor()86 pthread_mutexattr_destroy(&mutexattr); in Monitor()
56 static int pthread_mutex_init(pthread_mutex_t* const mutex, void* mutexattr) { in pthread_mutex_init() argument57 (void)mutexattr; in pthread_mutex_init()
59 static int pthread_mutex_init(pthread_mutex_t* const mutex, void* mutexattr) { in pthread_mutex_init() argument60 (void)mutexattr; in pthread_mutex_init()