X Tutup
Skip to content

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

Merged
pitrou merged 1 commit intopython:3.6from
pitrou:backport-f84ac42-3.6
Jun 26, 2017
Merged

[3.6] bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to (GH-2403)#2418
pitrou merged 1 commit intopython:3.6from
pitrou:backport-f84ac42-3.6

Conversation

@pitrou
Copy link
Copy Markdown
Member

@pitrou pitrou commented Jun 26, 2017

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

X Tutup