Searched refs:gil (Results 1 – 25 of 257) sorted by relevance
1234567891011
93 static void _gil_initialize(struct _gil_runtime_state *gil) in _gil_initialize() argument96 gil->locked = uninitialized; in _gil_initialize()97 gil->interval = DEFAULT_INTERVAL; in _gil_initialize()100 static int gil_created(struct _gil_runtime_state *gil) in gil_created() argument102 return (_Py_atomic_load_explicit(&gil->locked, _Py_memory_order_acquire) >= 0); in gil_created()105 static void create_gil(struct _gil_runtime_state *gil) in create_gil() argument107 MUTEX_INIT(gil->mutex); in create_gil()109 MUTEX_INIT(gil->switch_mutex); in create_gil()111 COND_INIT(gil->cond); in create_gil()113 COND_INIT(gil->switch_cond); in create_gil()[all …]
281 return gil_created(&interp->ceval.gil); in _PyEval_ThreadsInitialized()295 return gil_created(&runtime->ceval.gil); in _PyEval_ThreadsInitialized()319 struct _gil_runtime_state *gil = &tstate->interp->ceval.gil; in _PyEval_InitGIL() local321 struct _gil_runtime_state *gil = &tstate->interp->runtime->ceval.gil; in _PyEval_InitGIL() local323 assert(!gil_created(gil)); in _PyEval_InitGIL()326 create_gil(gil); in _PyEval_InitGIL()330 assert(gil_created(gil)); in _PyEval_InitGIL()347 struct _gil_runtime_state *gil = &interp->ceval.gil; in _PyEval_FiniGIL() local349 struct _gil_runtime_state *gil = &interp->runtime->ceval.gil; in _PyEval_FiniGIL() local351 if (!gil_created(gil)) { in _PyEval_FiniGIL()[all …]
23 struct _gil_runtime_state gil; member
43 struct _gil_runtime_state gil; member
15 en{"íŋgilísé"}
33 gil{"吉爾伯特文"}
111 gil{"гилбертча"}
117 gil{"гилберт"}
110 gil{"گیلبێرتی"}
122 gil{"гильбертийн"}
128 gil{"گلبرٽيز"}
38 gil{"gilbertese"}
129 gil{"ᎩᏇᏘᏏ"}
128 gil{"гилберт"}
128 gil{"गिलबर्टीस"}
121 gil{"ហ្គីលបឺទ"}
130 gil{"гильберт тілі"}
127 gil{"گلبرتي"}
128 gil{"ጊልበርትኛ"}