Home
last modified time | relevance | path

Searched refs:gil (Results 1 – 25 of 152) sorted by relevance

1234567

/external/python/cpython3/Python/
Dceval_gil.h93 static void _gil_initialize(struct _gil_runtime_state *gil) in _gil_initialize() argument
96 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() argument
102 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() argument
107 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 …]
Dceval.c197 return gil_created(&_PyRuntime.ceval.gil); in PyEval_ThreadsInitialized()
205 struct _gil_runtime_state *gil = &ceval->gil; in PyEval_InitThreads() local
206 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() local
226 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 …]
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc_gevent.pyx.pxi87 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 …]
Dfork_posix.pyx.pxi41 with gil:
52 with gil:
59 with gil:
75 with gil:
Dcredentials.pxd.pxi29 const char **error_details) with gil
31 cdef void _destroy(void *state) with gil
Dcredentials.pyx.pxi47 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:
Dsecurity.pyx.pxi22 with gil:
Dcompletion_queue.pyx.pxi44 with gil:
Drecords.pyx.pxi31 with gil:
/external/python/pybind11/tests/
Dcross_module_gil_utils.cpp23 void gil_acquire() { py::gil_scoped_acquire gil; } in gil_acquire() local
/external/icu/icu4c/source/data/lang/
Dyav.txt14 en{"íŋgilísé"}
Dzh_Hant_HK.txt31 gil{"吉爾伯特文"}
Daz_Cyrl.txt116 gil{"гилберт"}
Duz_Cyrl.txt110 gil{"гилбертча"}
Dckb.txt109 gil{"گیلبێرتی"}
Dce.txt121 gil{"гильбертийн"}
Dkok.txt126 gil{"गिलबर्टीस"}
Das.txt126 gil{"গিলবাৰ্টিছ"}
Dsi.txt130 gil{"ගිල්බර්ටීස්"}
Dchr.txt127 gil{"ᎩᏇᏘᏏ"}
Dmn.txt127 gil{"гилберт"}
Dky.txt121 gil{"гилбертче"}
Dkm.txt121 gil{"ហ្គីលបឺទ"}
/external/python/cpython3/Include/internal/
Dpycore_pystate.h59 struct _gil_runtime_state gil; member
/external/python/pybind11/tests/test_embed/
Dtest_interpreter.cpp224 py::gil_scoped_acquire gil{}; in __anonfbc0ec150302() local

1234567