Home
last modified time | relevance | path

Searched refs:id_mutex (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Python/
Dpystate.c140 runtime->interpreters.main->id_mutex = PyThread_allocate_lock(); in _PyRuntimeState_ReInitThreads()
149 if (runtime->interpreters.main->id_mutex == NULL) { in _PyRuntimeState_ReInitThreads()
340 if (interp->id_mutex != NULL) { in _PyInterpreterState_Delete()
341 PyThread_free_lock(interp->id_mutex); in _PyInterpreterState_Delete()
382 if (interp->id_mutex != NULL) { in _PyInterpreterState_DeleteExceptMain()
383 PyThread_free_lock(interp->id_mutex); in _PyInterpreterState_DeleteExceptMain()
462 if (interp->id_mutex != NULL) { in _PyInterpreterState_IDInitref()
465 interp->id_mutex = PyThread_allocate_lock(); in _PyInterpreterState_IDInitref()
466 if (interp->id_mutex == NULL) { in _PyInterpreterState_IDInitref()
479 if (interp->id_mutex == NULL) { in _PyInterpreterState_IDIncref()
[all …]
/external/libdrm/radeon/
Dradeon_cs_gem.c81 static pthread_mutex_t id_mutex = PTHREAD_MUTEX_INITIALIZER; variable
100 pthread_mutex_lock( &id_mutex ); in generate_id()
109 pthread_mutex_unlock( &id_mutex ); in generate_id()
118 pthread_mutex_lock( &id_mutex ); in free_id()
122 pthread_mutex_unlock( &id_mutex ); in free_id()
/external/python/cpython3/Include/internal/
Dpycore_pystate.h75 PyThread_type_lock id_mutex; member