A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-May/100438.html below:

[Python-Dev] Locks and signals

[Python-Dev] Locks and signals [Python-Dev] Locks and signalsAntoine Pitrou solipsis at pitrou.net
Fri May 28 12:58:02 CEST 2010
On Thu, 27 May 2010 21:57:48 -0400
Reid Kleckner <rnk at mit.edu> wrote:
> 
> Unrelatedly, I feel like this behavior of waiting for the thread to
> terminate usually manifests as deadlocks when the main thread throws
> an uncaught exception.  The application then no longer responds
> properly to interrupts, since it's stuck waiting on a semaphore.

I think the internal low-level lock implementation should be
fixed so that it runs PyErr_CheckSignals() and is able to signal an
error on function return (rather than the current binary "lock
succeeded" / "lock timed out" status).

Actually, it would be nice if you could open a bug entry for that :)

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4