Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dpystate.c31 static PyThread_type_lock head_mutex = NULL; /* Protects interp->tstate_head */ variable
32 #define HEAD_INIT() (void)(head_mutex || (head_mutex = PyThread_allocate_lock()))
33 #define HEAD_LOCK() PyThread_acquire_lock(head_mutex, WAIT_LOCK)
34 #define HEAD_UNLOCK() PyThread_release_lock(head_mutex)
66 if (head_mutex == NULL) in PyInterpreterState_New()