Armin Rigo pushed to branch branch/default at PyPy / pypy
Commits:
068bfe4f by Antonio Cuni at 2020-02-29T17:13:09+01:00
(arigo, antocuni) start a branch in which we refactor rgil to track the ID of
the thread currently holding the GIL.
This will allow us to:
1. kill cpyext_glob_tid
2. call HPy methods directly without having to worry about point (1) :)
--HG--
branch : rgil-track-thread
- - - - -
35625b0c by Antonio Cuni at 2020-03-01T12:34:23+01:00
(arigo, antocuni): WIP: write a plan to refactor the GIL so that we can check
whether the current thread is holding it
--HG--
branch : rgil-track-thread
- - - - -
f66ce489 by Antonio Cuni at 2020-03-01T12:39:46+01:00
(antocuni, arigo): WIP write a test and start to implement the plan which was
detailed in the previous commit
--HG--
branch : rgil-track-thread
- - - - -
2c50c01d by Antonio Cuni at 2020-03-01T16:39:18+01:00
(arigo, antocuni) WIP
--HG--
branch : rgil-track-thread
- - - - -
17b7809e by Armin Rigo at 2020-03-01T17:39:18+01:00
(antocuni, arigo) fix test (but more work needed, it's not ready)
--HG--
branch : rgil-track-thread
- - - - -
25cdc291 by Armin Rigo at 2020-03-01T17:39:34+01:00
(antocuni, arigo) Next test. Not working so far
--HG--
branch : rgil-track-thread
- - - - -
6b4537f2 by Armin Rigo at 2020-03-01T18:46:03+01:00
(antocuni, arigo)
Finish fixing the test. It may work now.
--HG--
branch : rgil-track-thread
- - - - -
6e4eebcb by Armin Rigo at 2020-03-01T19:30:04+01:00
fix fix fix
--HG--
branch : rgil-track-thread
- - - - -
e7d1d0a0 by Antonio Cuni at 2020-03-01T19:44:54+01:00
(antocuni, arigo): add a failing test for the JIT case; the fix is coming
--HG--
branch : rgil-track-thread
- - - - -
3287959c by Armin Rigo at 2020-03-02T00:21:56+01:00
(antocuni, arigo)
Fix call_release_gil for the x86 backend
--HG--
branch : rgil-track-thread
- - - - -
5ee3a6c3 by Armin Rigo at 2020-03-03T11:52:58+01:00
(antocuni around, arigo) Shuffle shuffle shuffle fix?
--HG--
branch : rgil-track-thread
- - - - -
1dfc8e71 by Armin Rigo at 2020-03-03T19:49:11+01:00
(antocuni, arigo) Attempt to fix arm and aarch64 (possibly in progress)
--HG--
branch : rgil-track-thread
- - - - -
00e78c0a by Antonio Cuni at 2020-03-03T20:49:14+01:00
(ab)use cpu._debug_errno_container to store also the thread_ident
--HG--
branch : rgil-track-thread
- - - - -
bf78a098 by Antonio Cuni at 2020-03-03T21:26:00+01:00
re-add the call to RPython_ThreadLocals_ProgramInit in RPython_StartupCode();
this is needed for embedded users like CFFI. Add a check inside it to avoid a
double-initialization, since now it is also called very early from
pypy_main_function() (which in turn it's needed because the GIL depends on
TLS now)
--HG--
branch : rgil-track-thread
- - - - -
6049f520 by Armin Rigo at 2020-03-03T21:32:40+01:00
fix
--HG--
branch : rgil-track-thread
- - - - -
b5a53bae by Armin Rigo at 2020-03-03T21:33:41+01:00
merge heads
--HG--
branch : rgil-track-thread
- - - - -
95ac6c07 by Antonio Cuni at 2020-03-03T21:38:22+01:00
(antocuni, arigo, hodgestar around) blindly try to implement
pypy_compare_and_swap for win32
--HG--
branch : rgil-track-thread
- - - - -
36c1b3a2 by Antonio Cuni at 2020-03-04T15:46:14+01:00
(antocuni, arigo): yet another try at fixing all the places which could try to
acquire the gil in a new thread
--HG--
branch : rgil-track-thread
- - - - -
34602264 by Armin Rigo at 2020-03-04T16:01:03+01:00
(antocuni, arigo) Fix for 32-bits
--HG--
branch : rgil-track-thread
- - - - -
fb8d5918 by Armin Rigo at 2020-03-05T16:02:50+01:00
Fix ppc
--HG--
branch : rgil-track-thread
- - - - -
d417cfe3 by Armin Rigo at 2020-03-05T17:28:19+01:00
close branch, ready to merge
--HG--
branch : rgil-track-thread
- - - - -
b8e8e37a by Armin Rigo at 2020-03-05T17:28:43+01:00
hg merge rgil-track-thread
- - - - -
629c26ac by Armin Rigo at 2020-03-05T17:29:09+01:00
mark branch as detail
- - - - -
27 changed files:
- pypy/doc/whatsnew-head.rst
- pypy/module/_cffi_backend/call_python.py
- rpython/jit/backend/aarch64/callbuilder.py
- rpython/jit/backend/aarch64/codebuilder.py
- rpython/jit/backend/arm/callbuilder.py
- rpython/jit/backend/llsupport/llerrno.py
- rpython/jit/backend/llsupport/llmodel.py
- + rpython/jit/backend/llsupport/lltls.py
- rpython/jit/backend/llsupport/test/zrpy_releasegil_test.py
- rpython/jit/backend/ppc/callbuilder.py
- rpython/jit/backend/ppc/register.py
- rpython/jit/backend/x86/callbuilder.py
- rpython/jit/backend/x86/rx86.py
- rpython/rlib/entrypoint.py
- rpython/rlib/rgil.py
- rpython/rlib/test/test_rgil.py
- rpython/rtyper/lltypesystem/lloperation.py
- rpython/rtyper/lltypesystem/rffi.py
- rpython/translator/c/genc.py
- rpython/translator/c/src/entrypoint.c
- rpython/translator/c/src/thread.c
- rpython/translator/c/src/thread.h
- rpython/translator/c/src/thread_gil.c
- rpython/translator/c/src/thread_nt.h
- rpython/translator/c/src/thread_pthread.h
- rpython/translator/c/src/threadlocal.c
- rpython/translator/c/src/threadlocal.h
View it on GitLab:
https://foss.heptapod.net/pypy/pypy/compare/f66404956794e5b0484b290a26f0aa165a9074dc...629c26acaab88da754e8a873f7251f164d93e043
---
View it on GitLab:
https://foss.heptapod.net/pypy/pypy/compare/f66404956794e5b0484b290a26f0aa165a9074dc...629c26acaab88da754e8a873f7251f164d93e043
You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit