bpo-30808: Use _Py_atomic API for concurrency-sensitive signal state by pitrou · Pull Request #2417 · python/cpython

added 4 commits

June 26, 2017 19:16
Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.

@pitrou

@pitrou pitrou changed the title [WIP] Use _Py_atomic API for concurrency-sensitive signal state Use _Py_atomic API for concurrency-sensitive signal state

Jun 29, 2017

@pitrou pitrou changed the title Use _Py_atomic API for concurrency-sensitive signal state bpo-30808: Use _Py_atomic API for concurrency-sensitive signal state

Jun 29, 2017

@pitrou

@pitrou pitrou deleted the signal_pyatomic branch

July 17, 2017 10:25

pitrou added a commit to pitrou/cpython that referenced this pull request

Aug 6, 2017
…state (pythonGH-2417)

* Improve signal delivery

Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.

* Remove unused function

* Improve comments

* Use _Py_atomic API for concurrency-sensitive signal state

* Add blurb
(cherry picked from commit 2c8a5e4)

pitrou added a commit that referenced this pull request

Aug 6, 2017
…state (GH-2417) (#3007)

* Improve signal delivery

Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.

* Remove unused function

* Improve comments

* Use _Py_atomic API for concurrency-sensitive signal state

* Add blurb
(cherry picked from commit 2c8a5e4)