[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset d83168854e19d0381fa57db25fca6c622917624f by Victor Stinner in branch 'master': bpo-40010: Optimize pending calls in multithreaded applications (GH-19091) https://github.com/python/cpython/commit/d83168854e19d0381fa57db25fca6c622917624f ---

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-20 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18451 pull_request: https://github.com/python/cpython/pull/19091 ___ Python tracker ___ __

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset d2a8e5b42c5e9c4e745a0589043a8aebb49f8ca2 by Victor Stinner in branch 'master': bpo-40010: COMPUTE_EVAL_BREAKER() checks for subinterpreter (GH-19087) https://github.com/python/cpython/commit/d2a8e5b42c5e9c4e745a0589043a8aebb49f8ca2 --

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-20 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18447 pull_request: https://github.com/python/cpython/pull/19087 ___ Python tracker ___ __

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset da2914db4b6f786a1e9f0b424efeeb6ca9418912 by Victor Stinner in branch 'master': bpo-40010: Pass tstate to ceval GIL functions (GH-19077) https://github.com/python/cpython/commit/da2914db4b6f786a1e9f0b424efeeb6ca9418912 -- _

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset a36adfa6bbf5e612a4d4639124502135690899b8 by Victor Stinner in branch 'master': bpo-39877: 4th take_gil() fix for daemon threads (GH-19080) https://github.com/python/cpython/commit/a36adfa6bbf5e612a4d4639124502135690899b8 -- __

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18438 pull_request: https://github.com/python/cpython/pull/19080 ___ Python tracker ___ __

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18433 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19077 ___ Python tracker ___ __

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5a3a71dddbe80edc75a3a74ce3b7978cf8635901 by Victor Stinner in branch 'master': bpo-40010: Optimize signal handling in multithreaded applications (GH-19067) https://github.com/python/cpython/commit/5a3a71dddbe80edc75a3a74ce3b7978cf8635901 -

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: I found this issue while working on PR 19066 of bpo-39984. -- stage: patch review -> ___ Python tracker ___

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18421 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19067 ___ Python tracker ___ _

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- type: -> performance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-18 Thread STINNER Victor
New submission from STINNER Victor : When a thread gets a signal, SIGNAL_PENDING_SIGNALS() sets signals_pending to 1 and eval_breaker to 1. In this case, _PyEval_EvalFrameDefault() calls handle_signals(), but since it's not the main thread, it does nothing and signals_pending value remains 1.