/external/python/cpython3/Python/ |
D | critical_section.c | 6 #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()
|
D | ceval_gil.c | 81 #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 …]
|
D | pystate.c | 264 #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 …]
|
D | gc_gil.c | 4 #ifndef Py_GIL_DISABLED
|
D | context.c | 206 #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()
|
D | getversion.c | 17 #ifdef Py_GIL_DISABLED in _Py_InitVersion()
|
/external/python/cpython3/Include/internal/ |
D | pycore_gc.h | 49 #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
|
D | pycore_object_alloc.h | 16 #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()
|
D | pycore_stackref.h | 22 #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)
|
D | pycore_object.h | 33 #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 …]
|
D | pycore_weakref.h | 16 #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()
|
D | pycore_tstate.h | 29 #ifdef Py_GIL_DISABLED 36 #if defined(Py_REF_DEBUG) && defined(Py_GIL_DISABLED)
|
D | pycore_mimalloc.h | 23 # ifdef Py_GIL_DISABLED 53 #ifdef Py_GIL_DISABLED
|
D | pycore_parser.h | 24 #ifdef Py_GIL_DISABLED 34 #if defined(Py_DEBUG) && defined(Py_GIL_DISABLED)
|
D | pycore_object_state.h | 22 #if !defined(Py_GIL_DISABLED)
|
D | pycore_critical_section.h | 23 #ifdef Py_GIL_DISABLED 101 #ifdef Py_GIL_DISABLED
|
/external/python/cpython3/Include/ |
D | Python.h | 50 #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__)
|
D | object.h | 111 #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__.py | 2 from test.support import load_package_tests, Py_GIL_DISABLED 5 if Py_GIL_DISABLED:
|
/external/python/cpython3/Modules/ |
D | _testclinic_limited.c | 9 #ifndef Py_GIL_DISABLED 149 #ifdef Py_GIL_DISABLED in PyInit__testclinic_limited()
|
D | _testsinglephase.c | 509 #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/ |
D | executor.py | 7 from test.support import Py_GIL_DISABLED 87 if Py_GIL_DISABLED: 100 if Py_GIL_DISABLED:
|
/external/python/cpython3/Objects/ |
D | obmalloc.c | 26 #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__.py | 7 if not support.Py_GIL_DISABLED:
|
/external/python/cpython3/Doc/howto/ |
D | free-threading-extensions.rst | 18 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.
|