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/2003-April/034950.html below:

Trace and Profile Support for Threads

[Python-Dev] draft PEP: Trace and Profile Support for Threads [Python-Dev] draft PEP: Trace and Profile Support for ThreadsGuido van Rossum guido@python.org
Wed, 23 Apr 2003 16:58:09 -0400
> Hrm.  While I don't want to overload what looks like a simple PEP, I'd
> like some thoughts about how this ought to interact with thread-local
> storage (if at all).  There are some modules (notably the BCD module)
> that need to keep track of state on a per-thread basis, but without
> requiring a user of the module to do the work.

IMO you can do thread-local storage just fine by attaching private
attributes to threading.currentThread().

--Guido van Rossum (home page: http://www.python.org/~guido/)



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