Searched refs:mutex1 (Results 1 – 9 of 9) sorted by relevance
/external/jemalloc_new/include/jemalloc/internal/ |
D | mutex_pool.h | 61 malloc_mutex_t *mutex1 = mutex_pool_mutex(pool, key1); in mutex_pool_lock2() local 63 if ((uintptr_t)mutex1 < (uintptr_t)mutex2) { in mutex_pool_lock2() 64 malloc_mutex_lock(tsdn, mutex1); in mutex_pool_lock2() 66 } else if ((uintptr_t)mutex1 == (uintptr_t)mutex2) { in mutex_pool_lock2() 67 malloc_mutex_lock(tsdn, mutex1); in mutex_pool_lock2() 70 malloc_mutex_lock(tsdn, mutex1); in mutex_pool_lock2() 77 malloc_mutex_t *mutex1 = mutex_pool_mutex(pool, key1); in mutex_pool_unlock2() local 79 if (mutex1 == mutex2) { in mutex_pool_unlock2() 80 malloc_mutex_unlock(tsdn, mutex1); in mutex_pool_unlock2() 82 malloc_mutex_unlock(tsdn, mutex1); in mutex_pool_unlock2()
|
/external/python/cffi/testing/embedding/ |
D | thread-test.h | 11 pthread_mutex_t mutex1; member 20 return (pthread_mutex_init(&sem->mutex1, NULL) || in sem_init() 26 pthread_mutex_lock(&sem->mutex1); in sem_post() 29 pthread_mutex_unlock(&sem->mutex1); in sem_post() 35 pthread_mutex_lock(&sem->mutex1); in sem_wait() 37 pthread_cond_wait(&sem->cond1, &sem->mutex1); in sem_wait() 39 pthread_mutex_unlock(&sem->mutex1); in sem_wait()
|
D | perf-test.c | 6 static pthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER; variable 58 pthread_mutex_lock(&mutex1); in start_routine() 62 pthread_mutex_unlock(&mutex1); in start_routine() 84 pthread_mutex_lock(&mutex1); in main() 86 pthread_cond_wait(&cond1, &mutex1); in main() 87 pthread_mutex_unlock(&mutex1); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/ |
D | 1-1.c | 18 pthread_mutex_t mutex1, mutex2; variable 34 if ((rc = pthread_mutex_init(&mutex1, &mta)) != 0) { in main() 53 if ((rc = pthread_mutex_destroy(&mutex1)) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/ |
D | 1-1.c | 26 pthread_mutex_t mutex1, mutex2; in main() local 37 if ((rc = pthread_mutex_init(&mutex1, &mta)) != 0) { in main()
|
/external/bcc/tools/ |
D | deadlock_detector.c | 37 u64 mutex1; member 115 edge_key.mutex1 = leaf->held_mutexes[i].mutex; in trace_mutex_acquire() 128 edge_key.mutex1, edge_key.mutex2, result); in trace_mutex_acquire()
|
D | deadlock_detector.py | 526 key.mutex1,
|
/external/jemalloc_new/src/ |
D | mutex.c | 118 mutex_addr_comp(const witness_t *witness1, void *mutex1, in mutex_addr_comp() argument 120 assert(mutex1 != NULL); in mutex_addr_comp() 122 uintptr_t mu1int = (uintptr_t)mutex1; in mutex_addr_comp()
|
/external/tensorflow/tensorflow/core/framework/ |
D | model_test.cc | 1098 std::shared_ptr<mutex> mutex1 = std::make_shared<mutex>(); in TEST_P() local 1105 /*value=*/model::kAutotune, mutex1, cv1), in TEST_P()
|