[Patches] [ python-Patches-1395552 ] add support for thread function result storage

SourceForge.net noreply at sourceforge.net
Mon Jan 2 21:23:11 CET 2006


Patches item #1395552, was opened at 2006-01-02 21:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1395552&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: tosi-in (tosi-in)
Assigned to: Nobody/Anonymous (nobody)
Summary: add support for thread function result storage

Initial Comment:
Here comes a little add-on for python's threading library:
It provides a way of reading a thread function's result
after the termination.
after a thread, which was created using safe_result =
True as a constructor parameter,
the thread object will gain the function result as a
parameter, called "result".
If the thread function did not return till the result
attribute access, an AttributeError is raised.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1395552&group_id=5470


More information about the Patches mailing list