Home
last modified time | relevance | path

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

/external/v8/src/third_party/vtune/
Dittnotify_config.h260 pthread_mutexattr_t mutex_attr; \
261 int error_code = pthread_mutexattr_init(&mutex_attr); \
264 error_code = pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_RECURSIVE); \
267 error_code = pthread_mutex_init(mutex, &mutex_attr); \
270 error_code = pthread_mutexattr_destroy(&mutex_attr); \
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h226 pthread_mutexattr_t mutex_attr; \
227 int error_code = pthread_mutexattr_init(&mutex_attr); \
231 error_code = pthread_mutexattr_settype(&mutex_attr, \
236 error_code = pthread_mutex_init(mutex, &mutex_attr); \
240 error_code = pthread_mutexattr_destroy(&mutex_attr); \
/external/avahi/avahi-compat-howl/
Dcompat.c340 pthread_mutexattr_t mutex_attr; in sw_discovery_init() local
371 ASSERT_SUCCESS(pthread_mutexattr_init(&mutex_attr)); in sw_discovery_init()
372 pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_RECURSIVE); in sw_discovery_init()
373 ASSERT_SUCCESS(pthread_mutex_init(&(*self)->mutex, &mutex_attr)); in sw_discovery_init()
374 ASSERT_SUCCESS(pthread_mutex_init(&(*self)->salt_mutex, &mutex_attr)); in sw_discovery_init()
/external/avahi/avahi-compat-libdns_sd/
Dcompat.c364 pthread_mutexattr_t mutex_attr; in sdref_new() local
387 ASSERT_SUCCESS(pthread_mutexattr_init(&mutex_attr)); in sdref_new()
388 pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_RECURSIVE); in sdref_new()
389 ASSERT_SUCCESS(pthread_mutex_init(&sdref->mutex, &mutex_attr)); in sdref_new()