Searched refs:gil (Results 1 – 25 of 152) sorted by relevance
1234567
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 …]
197 return gil_created(&_PyRuntime.ceval.gil); in PyEval_ThreadsInitialized()205 struct _gil_runtime_state *gil = &ceval->gil; in PyEval_InitThreads() local206 if (gil_created(gil)) { in PyEval_InitThreads()211 create_gil(gil); in PyEval_InitThreads()225 struct _gil_runtime_state *gil = &ceval->gil; in _PyEval_FiniThreads() local226 if (!gil_created(gil)) { in _PyEval_FiniThreads()230 destroy_gil(gil); in _PyEval_FiniThreads()231 assert(!gil_created(gil)); in _PyEval_FiniThreads()315 assert(gil_created(&ceval->gil)); in PyEval_AcquireThread()347 if (!gil_created(&ceval->gil)) { in _PyEval_ReInitThreads()[all …]
87 cdef grpc_error* socket_init(grpc_custom_socket* socket, int domain) with gil:115 grpc_custom_connect_callback cb) with gil:128 cdef void socket_destroy(grpc_custom_socket* socket) with gil:131 cdef void socket_shutdown(grpc_custom_socket* socket) with gil:139 grpc_custom_close_callback cb) with gil:179 grpc_custom_write_callback cb) with gil:207 size_t length, grpc_custom_read_callback cb) with gil:216 int* length) with gil:229 int* length) with gil:248 size_t len, int flags) with gil:[all …]
41 with gil:52 with gil:59 with gil:75 with gil:
29 const char **error_details) with gil31 cdef void _destroy(void *state) with gil
47 const char **error_details) with gil:62 cdef void _destroy(void *state) with gil:293 void* user_data, grpc_ssl_server_certificate_config **config) with gil:
22 with gil:
44 with gil:
31 with gil:
23 void gil_acquire() { py::gil_scoped_acquire gil; } in gil_acquire() local
14 en{"íŋgilísé"}
31 gil{"吉爾伯特文"}
116 gil{"гилберт"}
110 gil{"гилбертча"}
109 gil{"گیلبێرتی"}
121 gil{"гильбертийн"}
126 gil{"गिलबर्टीस"}
126 gil{"গিলবাৰ্টিছ"}
130 gil{"ගිල්බර්ටීස්"}
127 gil{"ᎩᏇᏘᏏ"}
127 gil{"гилберт"}
121 gil{"гилбертче"}
121 gil{"ហ្គីលបឺទ"}
59 struct _gil_runtime_state gil; member
224 py::gil_scoped_acquire gil{}; in __anonfbc0ec150302() local