◐ Shell
clean mode source ↗

[3.6] bpo-30808: Use _Py_atomic API for concurrency-sensitive signal state (GH-2417) by pitrou · Pull Request #3007 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@pitrou

@pitrou pitrou commented

Aug 6, 2017

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

…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)

@vstinner vstinner left a comment

Copy link Copy Markdown

Member

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

Reviewers

@vstinner vstinner vstinner approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@pitrou @vstinner @the-knights-who-say-ni