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/2009-November/094316.html below:

[Python-Dev] Add an optional timeout to lock operations

[Python-Dev] Add an optional timeout to lock operations [Python-Dev] Add an optional timeout to lock operationsNick Coghlan ncoghlan at gmail.com
Wed Nov 18 11:38:06 CET 2009
Antoine Pitrou wrote:
> Guido van Rossum <guido <at> python.org> writes:
>> Will locks be interruptible with ^C? That is an oft-requested feature
>> which also wasn't supported at that time; what's the situation
>> nowadays?
> 
> They still aren't interruptible. From what I can read it may be possible to make
> them interruptible in the POSIX semaphore-based implementation, not in the POSIX
> condition variable-based implementation (which is used as a fallback when POSIX
> semaphores are not available, but I don't know whether this fallback is still
> useful).

I'm pretty sure at least some variants of *BSD still don't have OS level
semaphores - their lack is the reason multiprocessing doesn't
necessarily work everywhere that the threading module works (since mp
needs semaphores in order to work its magic).

Jesse would probably know the gory details.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
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