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/2006-March/062357.html below:

[Python-Dev] Threading idea -- exposing a global thread lock

[Python-Dev] Threading idea -- exposing a global thread lock [Python-Dev] Threading idea -- exposing a global thread lockRaymond Hettinger raymond.hettinger at verizon.net
Tue Mar 14 07:01:36 CET 2006
> it doesn't translate reasonably to Jython or IronPython, it's really tricky to 
> implement,

FWIW, someone on the newsgroup suggested implementing this via a slight 
modification to sys.checkinterval().  The idea was that a None argument would 
translate to "stop-checking" and the active thread would do a few steps 
atomically and then restore the original value.  The new with-statement makes 
that a piece of cake.


Raymond

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