Home
last modified time | relevance | path

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

/third_party/libdrm/radeon/
H A 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()
/third_party/python/Python/
H A Dpystate.c200 /* bpo-42540: id_mutex is freed by _PyInterpreterState_Delete, which does in _PyRuntimeState_ReInitThreads()
202 int reinit_main_id = _PyThread_at_fork_reinit(&runtime->interpreters.main->id_mutex); in _PyRuntimeState_ReInitThreads()
523 if (interp->id_mutex != NULL) { in PyInterpreterState_Delete()
524 PyThread_free_lock(interp->id_mutex); in PyInterpreterState_Delete()
559 if (interp->id_mutex != NULL) { in _PyInterpreterState_DeleteExceptMain()
560 PyThread_free_lock(interp->id_mutex); in _PyInterpreterState_DeleteExceptMain()
639 if (interp->id_mutex != NULL) { in _PyInterpreterState_IDInitref()
642 interp->id_mutex = PyThread_allocate_lock(); in _PyInterpreterState_IDInitref()
643 if (interp->id_mutex == NULL) { in _PyInterpreterState_IDInitref()
660 PyThread_acquire_lock(interp->id_mutex, WAIT_LOC in _PyInterpreterState_IDIncref()
[all...]
/third_party/python/Include/internal/
H A Dpycore_interp.h103 PyThread_type_lock id_mutex; member

Completed in 4 milliseconds