Tcl package Thread source code

Changes On Branch tclPreserveFixes
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch tclPreserveFixes Excluding Merge-Ins

This is equivalent to a diff from 5c0f63a989 to 57e3cc3d37

2011-11-21
06:15
Merge resource leak and crash fixes. check-in: de0634986d user: mistachkin tags: trunk
02:56
Correct check for current thread in the ThreadReserve function [Bug 3411244]. Correct the order for releasing the interpreter and freeing memory, see check-in [6067508840]. Closed-Leaf check-in: 57e3cc3d37 user: mistachkin tags: trunk, tclPreserveFixes
2011-11-18
08:01
Refactor ThreadEventProc to make sure all paths out of the function call Tcl_Release on the necessary Tcl interpreters. Also, call ThreadErrorProc consistently whenever the return code is not TCL_OK (i.e. do not check for it to be equal to TCL_ERROR). check-in: c71363236a user: mistachkin tags: trunk, tclPreserveFixes
05:04
The [thread::wait] command should use the TCL_CANCEL_UNWIND flag when calling Tcl_Canceled because it manages its own event processing loop. Also, if the event processing loop is terminated due to a script in progress being canceled or exceeding a runtime limit, the registered error script should be evaluated, if any. check-in: 5c0f63a989 user: mistachkin tags: trunk
02:28
The [thread::wait] command must cooperate with the interpreter resource limiting (TIP #143) and asynchronous script cancellation (TIP #285) functionality, when available. check-in: 4ff12631f2 user: mistachkin tags: trunk

Changes to ChangeLog.

Changes to generic/threadCmd.c.