Home
last modified time | relevance | path

Searched refs:Py_GIL_DISABLED (Results 1 – 25 of 155) sorted by relevance

1234567

/external/python/cpython3/Python/
Dcritical_section.c6 #ifdef Py_GIL_DISABLED
14 #ifdef Py_GIL_DISABLED in _PyCriticalSection_BeginSlow()
29 #ifdef Py_GIL_DISABLED in _PyCriticalSection2_BeginSlow()
45 #ifdef Py_GIL_DISABLED
58 #ifdef Py_GIL_DISABLED in _PyCriticalSection_SuspendAll()
82 #ifdef Py_GIL_DISABLED in _PyCriticalSection_Resume()
118 #ifdef Py_GIL_DISABLED in PyCriticalSection_Begin()
127 #ifdef Py_GIL_DISABLED in PyCriticalSection_End()
136 #ifdef Py_GIL_DISABLED in PyCriticalSection2_Begin()
145 #ifdef Py_GIL_DISABLED in PyCriticalSection2_End()
Dceval_gil.c81 #ifdef Py_GIL_DISABLED in update_eval_breaker_for_thread()
236 #ifdef Py_GIL_DISABLED in drop_gil()
314 #ifdef Py_GIL_DISABLED in take_gil()
361 #ifdef Py_GIL_DISABLED in take_gil()
485 #ifdef Py_GIL_DISABLED in init_own_gil()
666 #ifndef Py_GIL_DISABLED
793 #ifdef Py_GIL_DISABLED in _PyEval_AddPendingCall()
887 #ifdef Py_GIL_DISABLED in signal_pending_calls()
897 #ifdef Py_GIL_DISABLED in unsignal_pending_calls()
907 #ifdef Py_GIL_DISABLED in clear_pending_handling_thread()
[all …]
Dpystate.c264 #ifdef Py_GIL_DISABLED in bind_tstate()
513 #ifdef Py_GIL_DISABLED in _PyRuntimeState_ReInitThreads()
644 #ifdef Py_GIL_DISABLED in init_interpreter()
1568 #ifdef Py_GIL_DISABLED in new_threadstate()
1589 #ifdef Py_GIL_DISABLED in new_threadstate()
1599 #ifdef Py_GIL_DISABLED in new_threadstate()
1742 #ifdef Py_GIL_DISABLED in PyThreadState_Clear()
1800 #if defined(Py_REF_DEBUG) && defined(Py_GIL_DISABLED) in tstate_delete_common()
1825 #ifdef Py_GIL_DISABLED in tstate_delete_common()
1860 #ifdef Py_GIL_DISABLED in _PyThreadState_DeleteCurrent()
[all …]
Dgc_gil.c4 #ifndef Py_GIL_DISABLED
Dcontext.c206 #ifndef Py_GIL_DISABLED in PyContextVar_Get()
226 #ifndef Py_GIL_DISABLED in PyContextVar_Get()
730 #ifndef Py_GIL_DISABLED in contextvar_set()
748 #ifndef Py_GIL_DISABLED in contextvar_set()
759 #ifndef Py_GIL_DISABLED in contextvar_del()
836 #ifndef Py_GIL_DISABLED in contextvar_new()
878 #ifndef Py_GIL_DISABLED in contextvar_tp_clear()
Dgetversion.c17 #ifdef Py_GIL_DISABLED in _Py_InitVersion()
/external/python/cpython3/Include/internal/
Dpycore_gc.h49 #ifdef Py_GIL_DISABLED
59 #ifdef Py_GIL_DISABLED
85 #ifdef Py_GIL_DISABLED in _PyObject_GC_IS_TRACKED()
106 #ifdef Py_GIL_DISABLED
194 #ifdef Py_GIL_DISABLED in _PyGC_FINALIZED()
202 #ifdef Py_GIL_DISABLED in _PyGC_SET_FINALIZED()
210 #ifdef Py_GIL_DISABLED in _PyGC_CLEAR_FINALIZED()
317 #ifdef Py_GIL_DISABLED
328 #ifdef Py_GIL_DISABLED
357 #ifdef Py_GIL_DISABLED
Dpycore_object_alloc.h16 #ifdef Py_GIL_DISABLED
41 #ifdef Py_GIL_DISABLED in _PyObject_MallocWithType()
47 #ifdef Py_GIL_DISABLED in _PyObject_MallocWithType()
56 #ifdef Py_GIL_DISABLED in _PyObject_ReallocWithType()
62 #ifdef Py_GIL_DISABLED in _PyObject_ReallocWithType()
Dpycore_stackref.h22 #if defined(Py_GIL_DISABLED)
34 #if defined(Py_GIL_DISABLED)
48 #if defined(Py_GIL_DISABLED)
67 #if defined(Py_GIL_DISABLED)
84 #if defined(Py_GIL_DISABLED)
141 #if defined(Py_GIL_DISABLED)
154 #if defined(Py_GIL_DISABLED)
Dpycore_object.h33 #if defined(Py_GIL_DISABLED) in _Py_IsImmortalLoose()
82 #if defined(Py_GIL_DISABLED)
131 #if !defined(Py_GIL_DISABLED) in _Py_RefcntAdd()
162 #ifdef Py_GIL_DISABLED in _Py_SetMortal()
194 #ifdef Py_GIL_DISABLED in _PyObject_HasDeferredRefcount()
201 #if !defined(Py_GIL_DISABLED)
351 #ifdef Py_GIL_DISABLED in _PyObject_GC_TRACK()
391 #ifdef Py_GIL_DISABLED in _PyObject_GC_UNTRACK()
419 #ifdef Py_GIL_DISABLED
581 #ifdef Py_GIL_DISABLED in _Py_TryIncref()
[all …]
Dpycore_weakref.h16 #ifdef Py_GIL_DISABLED
50 #if defined(Py_GIL_DISABLED) in _is_dead()
70 #ifdef Py_GIL_DISABLED in _PyWeakref_GET_REF()
98 #ifdef Py_GIL_DISABLED in _PyWeakref_IS_DEAD()
Dpycore_tstate.h29 #ifdef Py_GIL_DISABLED
36 #if defined(Py_REF_DEBUG) && defined(Py_GIL_DISABLED)
Dpycore_mimalloc.h23 # ifdef Py_GIL_DISABLED
53 #ifdef Py_GIL_DISABLED
Dpycore_parser.h24 #ifdef Py_GIL_DISABLED
34 #if defined(Py_DEBUG) && defined(Py_GIL_DISABLED)
Dpycore_object_state.h22 #if !defined(Py_GIL_DISABLED)
Dpycore_critical_section.h23 #ifdef Py_GIL_DISABLED
101 #ifdef Py_GIL_DISABLED
/external/python/cpython3/Include/
DPython.h50 #if defined(Py_LIMITED_API) && defined(Py_GIL_DISABLED)
54 #if defined(Py_GIL_DISABLED) && defined(_MSC_VER)
58 #if defined(Py_GIL_DISABLED) && defined(__MINGW32__)
Dobject.h111 #ifdef Py_GIL_DISABLED
123 #if defined(Py_GIL_DISABLED)
162 #ifndef Py_GIL_DISABLED
237 #if defined(Py_GIL_DISABLED) && !defined(Py_LIMITED_API)
317 #if !defined(Py_GIL_DISABLED) in Py_REFCNT()
357 #if defined(Py_GIL_DISABLED) in _Py_IsImmortal()
393 #ifndef Py_GIL_DISABLED in Py_SET_REFCNT()
435 #ifdef Py_GIL_DISABLED in Py_SET_SIZE()
809 #if defined(Py_GIL_DISABLED) in Py_INCREF()
850 #if !defined(Py_LIMITED_API) && defined(Py_GIL_DISABLED)
[all …]
/external/python/cpython3/Lib/test/test_interpreters/
D__init__.py2 from test.support import load_package_tests, Py_GIL_DISABLED
5 if Py_GIL_DISABLED:
/external/python/cpython3/Modules/
D_testclinic_limited.c9 #ifndef Py_GIL_DISABLED
149 #ifdef Py_GIL_DISABLED in PyInit__testclinic_limited()
D_testsinglephase.c509 #ifdef Py_GIL_DISABLED in init__testsinglephase_basic()
603 #ifdef Py_GIL_DISABLED in PyInit__testsinglephase_with_reinit()
668 #ifdef Py_GIL_DISABLED in PyInit__testsinglephase_with_state()
/external/python/cpython3/Lib/test/test_concurrent_futures/
Dexecutor.py7 from test.support import Py_GIL_DISABLED
87 if Py_GIL_DISABLED:
100 if Py_GIL_DISABLED:
/external/python/cpython3/Objects/
Dobmalloc.c26 #if defined(Py_GIL_DISABLED) && !defined(WITH_MIMALLOC)
98 #ifdef Py_GIL_DISABLED in _PyMem_mi_page_clear_qsbr()
112 #ifdef Py_GIL_DISABLED in _PyMem_mi_page_is_safe_to_free()
129 #ifdef Py_GIL_DISABLED in _PyMem_mi_page_maybe_free()
153 #ifdef Py_GIL_DISABLED in _PyMem_mi_page_reclaimed()
172 #ifdef Py_GIL_DISABLED in _PyMem_mi_heap_collect_qsbr()
205 #ifdef Py_GIL_DISABLED in _PyMem_MiMalloc()
217 #ifdef Py_GIL_DISABLED in _PyMem_MiCalloc()
229 #ifdef Py_GIL_DISABLED in _PyMem_MiRealloc()
247 #ifdef Py_GIL_DISABLED in _PyObject_MiMalloc()
[all …]
/external/python/cpython3/Lib/test/test_free_threading/
D__init__.py7 if not support.Py_GIL_DISABLED:
/external/python/cpython3/Doc/howto/
Dfree-threading-extensions.rst18 The CPython C API exposes the ``Py_GIL_DISABLED`` macro: in the free-threaded
22 #ifdef Py_GIL_DISABLED
69 ``#ifdef Py_GIL_DISABLED`` to avoid compilation errors in the regular build.
85 #ifdef Py_GIL_DISABLED
261 ``py_limited_api=not sysconfig.get_config_var("Py_GIL_DISABLED")`` to opt out
274 manually define ``Py_GIL_DISABLED=1`` when building extensions from source.

1234567