Skip to content

[3.6] bpo-30808: Use _Py_atomic API for concurrency-sensitive signal state (GH-2417)#3007

Merged
pitrou merged 1 commit intopython:3.6from
pitrou:backport-2c8a5e4-3.6
Aug 6, 2017
Merged

[3.6] bpo-30808: Use _Py_atomic API for concurrency-sensitive signal state (GH-2417)#3007
pitrou merged 1 commit intopython:3.6from
pitrou:backport-2c8a5e4-3.6

Conversation

@pitrou
Copy link
Member

@pitrou pitrou commented 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)
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@pitrou pitrou merged commit 57e836c into python:3.6 Aug 6, 2017
@pitrou pitrou deleted the backport-2c8a5e4-3.6 branch August 6, 2017 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants