Tcl package Thread source code

Timeline
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

50 check-ins occurring around f23bc2edae6bb42a.

2012-04-26
17:26
Eliminate some tricky finalization problems by converting the SpBucket arrays from dynamic storage to static storage so they no longer need to be finalized. Since they have fixed size of NUMSPBUCKETS, I don't see any strong reason not to do this. check-in: 9cd6b782ad user: dgp tags: trunk
2012-04-25
19:57
1603234 Stop leak in [thread::transfer]. check-in: af1cbd4b7b user: dgp tags: trunk
2012-04-24
16:40
1603234 Stop leak in [thread::transfer]. check-in: 2e574064a4 user: dgp tags: thread-2-6-branch
2012-04-23
20:32
merge-mark check-in: 939b55c984 user: dgp tags: trunk
20:31
Backport bug fixes check-in: 695182249f user: dgp tags: thread-2-6-branch
17:34
Refuse to configure for building against pre-8.5 Tcl headers. check-in: 4765be9ed3 user: dgp tags: trunk
17:24
compiler warning in build against Tcl 8.5. check-in: a966222303 user: dgp tags: trunk
17:20
Restore [load]-time check for threaded Tcl. check-in: 820382f64c user: dgp tags: trunk
14:47
merge-mark check-in: 2e64f7637b user: jan.nijtmans tags: trunk
2012-04-20
07:49
more complete depend on Tcl 8.5 move check for threaded tcl to pkgIndex.tcl check-in: aec87b3071 user: jan.nijtmans tags: trunk
2012-04-19
16:25
3411242 Crash in thread::release. check-in: dec5afa55d user: dgp tags: thread-2-6-branch
2012-04-16
21:16
No longer depend on tcl_platform(threaded) variable starting with Tcl 8.6, since it's always compiled threaded Closed-Leaf check-in: db1b6eda66 user: jan.nijtmans tags: mistake
21:13
No longer depend on tcl_platform(threaded) variable starting with Tcl 8.6, since it's always compiled threaded check-in: 241dbe3c53 user: jan.nijtmans tags: mistake
2012-04-15
20:09
update to latest TEA check-in: c2154a5d65 user: jan.nijtmans tags: trunk
20:08
update to latest TEA check-in: b1d8aa9c2f user: jan.nijtmans tags: thread-2-6-branch
2011-12-05
20:53
Fix #define issue when compiling for Tcl 8.5. check-in: 43aa993fb9 user: mistachkin tags: trunk
2011-11-29
14:11
Proper link fix by adding missing #includes for sake of old compilers check-in: b7d0a6e8b9 user: dgp tags: trunk
13:49
Minimum changes to restore broken link. Closed-Leaf check-in: dc9a0c8672 user: dgp tags: trunk, bug-3424948
2011-11-24
19:43
Only export Thread_Init(), nothing more check-in: 40b0e54239 user: jan.nijtmans tags: trunk
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
01:17
Update all remaining versions to 2.7b1. For [thread::cancel], avoid creating a new Tcl_Obj when the default script cancellation result is desired. Stop using -debug:full as it causes an error with the MSVC10 compiler. check-in: d893efb569 user: mistachkin tags: trunk
2011-11-01
15:07
Merge in thread::cancel support check-in: f23bc2edae user: dgp tags: trunk
15:07
Merge in bug fixes and finalization support check-in: 6067508840 user: dgp tags: trunk
15:06
Bump to version 2.7b1 to prep release with new command. check-in: 9f25eb6b9c user: dgp tags: trunk
2011-10-28
15:33
Test suite tolerate the existence of the [thread::cancel] command Closed-Leaf check-in: ed8e983fc8 user: dgp tags: tip285
2011-10-12
07:27
Add docs for thread::cancel command. check-in: 81f7b47123 user: mistachkin tags: tip285
07:07
Free the mutex prior to returning from ThreadFreeError. Closed-Leaf check-in: 25990db353 user: mistachkin tags: finalize
2011-09-26
11:41
prepare for Visual Studio 11 check-in: 77f4eb07d4 user: jan.nijtmans tags: trunk
2011-09-23
14:16
Stop leaking the errorProcString check-in: 4e5eaeef0c user: dgp tags: finalize
2011-09-18
16:21
3411242 Stop crash in [thread::release -wait]. check-in: df02694e2d user: dgp tags: finalize
2011-09-12
22:58
Support asynchronous script cancellation, per TIP #285 (i.e. thread::cancel). Necessary to replace use of testthread::cancel in the Tcl 8.6 test suite. check-in: 51cf545767 user: mistachkin tags: tip285
04:23
Candidate fix for Bug 3407947 check-in: 1c4659b6b5 user: dgp tags: finalize
2011-08-30
21:22
New branch "finalize" where the attempts to finalize the Thread package are re-enabled and extended. Meant to be used in memory leak testing and similar debugging scenarios. Not committed to trunk since comments indicate only "the brave" would attempt such an unsolvable problem. check-in: 6558fb93bb user: dgp tags: finalize
2011-08-01
14:39
Extend support to MSVC10. Thanks to Twylite. check-in: f7bbd700c9 user: dgp tags: trunk, thread-2-6-7
2011-06-27
17:33
Restore compatibility with the latest TEA 3.9 revisions. check-in: 3cd44c9189 user: dgp tags: trunk
2011-04-06
20:15
Remove .cvsignore files and RCS Keywords check-in: 2afed999e3 user: dgp tags: trunk
2010-12-08
22:38
Fixed Tcl Bug #3129844 check-in: b017b24300 user: vasiljevic tags: trunk
2010-11-18
21:14
* Makefile.in: Revised the `make dist` target so that the * win/README.txt: files under thread/win/vc in CVS are copied to * win/vc/makefile.vc: thread/win in the release, where tcl/pkgs/ * win/vc/thread_win.dsp: expects to find them.    * configure: autoconf-2.59 check-in: 6593e21b9c user: dgp tags: trunk
2010-11-09
16:38
Fixed c99 style comment breaking compilation on AIX (native cc) check-in: 1a29a110f2 user: andreas_kupries tags: trunk
2010-10-04
17:20
* generic/configure Regenrated for TEA 3.9. Bumped version string * generic/configiue.in in all relevant files to 2.6.7 and autoconf'ed. * win/vc/pkg.vc check-in: c5a61ed1ed user: vasiljevic tags: trunk
2010-09-30
15:52
Updated docs: nl commands to para, and bug in option list check-in: b62a4fe93d user: andreas_kupries tags: trunk
2010-09-28
20:21
* generic/threadCmd.c: Initialize tsdPtr->interp to NULL immediately after releasing the interp on thread-exit that should hopefully resolve the Tcl Bug #3026061    * generic/threadCmd.c: Removed safe-init so safe-interps should not be able to run thread commands directly.    * lib/ttrace.tcl: Changed version to 2.6.7 to be in sync with main pkg.    * configure.in: Bumped version to 2.6.7 and autoconf'ed. check-in: 6a258a1e05 user: vasiljevic tags: trunk
2010-09-05
16:11
Use doctools correctly (I think...) for describing options. check-in: 4c10be3cbd user: dkf tags: trunk
11:41
* doc/tpool.man, doc/tsv.man: Remove spaces in titledesc declaration; doctools currently does not like it at all when generating correct nroff output. check-in: 611ece4d61 user: dkf tags: trunk
11:40
Add OSX shared library suffix to ignored list. check-in: 1cd4e0f3ee user: dkf tags: trunk
2010-08-12
16:34
* lib/ttrace.tcl (_serializensp, _serializeproc): Fixed typos which smashed namespace name and opening brace of a script together, leading to a syntax error for 'namespace eval' and preventing the use of package Ttrace. check-in: 5a2b46749b user: andreas_kupries tags: trunk