Searched refs:xidregistry (Results 1 – 2 of 2) sorted by relevance
84 runtime->xidregistry.mutex = PyThread_allocate_lock(); in _PyRuntimeState_Init_impl()85 if (runtime->xidregistry.mutex == NULL) { in _PyRuntimeState_Init_impl()128 FREE_LOCK(runtime->xidregistry.mutex); in _PyRuntimeState_Fini()150 int reinit_xidregistry = _PyThread_at_fork_reinit(&runtime->xidregistry.mutex); in _PyRuntimeState_ReInitThreads()1734 _register_xidata(struct _xidregistry *xidregistry, PyTypeObject *cls, in _register_xidata() argument1744 newhead->next = xidregistry->head; in _register_xidata()1745 xidregistry->head = newhead; in _register_xidata()1749 static void _register_builtins_for_crossinterpreter_data(struct _xidregistry *xidregistry);1767 struct _xidregistry *xidregistry = &_PyRuntime.xidregistry ; in _PyCrossInterpreterData_RegisterClass() local1768 PyThread_acquire_lock(xidregistry->mutex, WAIT_LOCK); in _PyCrossInterpreterData_RegisterClass()[all …]
99 } xidregistry; member