diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-05-05 21:59:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 21:59:20 (GMT) |
commit | f3e7eb48f86057919c347f56dabf417acfd55845 (patch) | |
tree | 1b4c1a4a939f6609ddf17e842abf8490c582a037 /Lib/asyncio/taskgroups.py | |
parent | 66558d2a16ee42afc0e2c02e6a90bfd62dcb67f6 (diff) | |
download | cpython-f3e7eb48f86057919c347f56dabf417acfd55845.zip cpython-f3e7eb48f86057919c347f56dabf417acfd55845.tar.gz cpython-f3e7eb48f86057919c347f56dabf417acfd55845.tar.bz2 |
gh-99113: Add PyInterpreterConfig.own_gil (gh-104204)
We also add PyInterpreterState.ceval.own_gil to record if the interpreter actually has its own GIL.
Note that for now we don't actually respect own_gil; all interpreters still share the one GIL. However, PyInterpreterState.ceval.own_gil does reflect PyInterpreterConfig.own_gil. That lie is a temporary one that we will fix when the GIL really becomes per-interpreter.
Diffstat (limited to 'Lib/asyncio/taskgroups.py')
0 files changed, 0 insertions, 0 deletions