Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

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

Appearance settings

[2.7] bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to (GH-2403)#2420

Merged
pitrou merged 2 commits into
python:2.7python/cpython:2.7from
pitrou:backport-f84ac42-2.7pitrou/cpython:backport-f84ac42-2.7Copy head branch name to clipboard
Jun 26, 2017
Merged

[2.7] bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to (GH-2403)#2420
pitrou merged 2 commits into
python:2.7python/cpython:2.7from
pitrou:backport-f84ac42-2.7pitrou/cpython:backport-f84ac42-2.7Copy head branch name to clipboard

Conversation

@pitrou

@pitrou pitrou commented Jun 26, 2017

Copy link
Copy Markdown
Member
  • bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to lock

This is especially important if PyThread_acquire_lock() is called reentrantly
(for example from a signal handler).

(cherry picked from commit f84ac42)

… not to (pythonGH-2403)

* bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to lock

This is especially important if PyThread_acquire_lock() is called reentrantly
(for example from a signal handler).

* Update 2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst

* Avoid core logic when taking the mutex failed.
(cherry picked from commit f84ac42)
@pitrou pitrou merged commit 8284883 into python:2.7 Jun 26, 2017
@pitrou pitrou deleted the backport-f84ac42-2.7 branch June 26, 2017 20:13
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.