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 descendants of [3769415ca1]

2009-05-03
23:57
Fixed tiny typo tcl_PatchLevel -> tcl_patchLevel check-in: b03dccd888 user: ferrieux tags: trunk
2008-12-03
20:55
* generic/threadSvCmd.c: Handle TIP#336 addition of API to access * generic/threadSpCmd.c: interp->errorLine check-in: 9dbc248a40 user: hobbs tags: trunk
2008-11-03
23:46
safely set interp result obj check-in: dd4570943b user: hobbs tags: trunk
23:42
* generic/threadCmd.c (ThreadCutChannel): fix const warning (ThreadSend): safely set interp result object [Bug #1988779] check-in: 935905d457 user: hobbs tags: trunk
2008-10-22
08:19
generic/threadPool.c: fixed race condition when creating minworkers worker thread upfront. Failure to create one results in partial pool teardown. Fix for Bug # 2005794. check-in: b2248b6498 user: vasiljevic tags: trunk
2008-05-22
16:31
RemoveAnyItem plugs the item out of the hash-table before releasing the bucket mutex while waiting on the item to be free for deletion. check-in: f3e24b1c86 user: vasiljevic tags: trunk
16:19
generic/threadSpCmd.h: Added one cond variable per sync bucket to wait for item deletion.    generic/threadSpCmd.c: Threads that want to delete any sync primitive now wait properly until the last thread that references the primitive detaches.    Fixed (broken) reference counting of items.    Fixed wrong release of an condition variable that is about to be time-waited. check-in: 2ac3a5ac61 user: vasiljevic tags: trunk
2008-05-18
17:46
Corrected potential race condition in TpoolWorker. check-in: 1c5c948362 user: vasiljevic tags: trunk
2007-09-15
12:28
Fixed signedness compiler warning in TpoolWaitObjCmd(). check-in: 31aaefad04 user: vasiljevic tags: trunk
2007-08-23
11:34
autoconf-2.59 check-in: c7326a945d user: das tags: trunk
2007-08-07
06:59
sync with latest TEA check-in: 17a89ff14b user: das tags: trunk
2007-06-30
15:28
See file check-in: b3d4f463e8 user: vasiljevic tags: trunk
15:27
Fixed Bug #1512225 (tpool::wait and tpool::cancel setting wrong values to passed variables) check-in: 5651232d0e user: vasiljevic tags: trunk
14:33
See file. check-in: 4bc33484e2 user: vasiljevic tags: trunk
14:31
Fixed off-by-1 error in arguments parsing for SvKeylkeysObjCmd. See Tcl Bug 1575342. check-in: 6e1487cb41 user: vasiljevic tags: trunk
2007-05-26
15:46
Remark about fixing the tpool::post -nowait. check-in: f228469c30 user: vasiljevic tags: trunk
15:44
Fixed tpool::post -nowait to start new worker thread only if there are none started. check-in: e2630f3e9f user: vasiljevic tags: trunk
2007-05-09
11:50
Sorted out the pkgIndex.tcl substitutions using nmakehlp as a pseudo-sed. check-in: 94fffac044 user: patthoyts tags: trunk
2007-05-03
22:22
* win/vc/rules.vc: Updated the nmake build system to match * win/vc/nmakehlp.c: current 8.5. (support for non-intel build * win/vc/makefile.vc: and recent versions of msvc compiler) * win/thread.rc: Fixed line endings. check-in: cbfc830839 user: patthoyts tags: trunk
2007-02-06
21:05
doc typo check-in: 9283fed17b user: hobbs tags: trunk
2006-12-26
08:31
Fixed race-condition and removed memory leak check-in: 08972f0018 user: vasiljevic tags: trunk
2006-12-23
14:20
Handle possible race condition when creating preserved threads. check-in: 12baf34321 user: vasiljevic tags: trunk
14:20
Fixed memory leak when registering Gdbm store handler. We registered the handler every time the module was initialized. Now we do it only for the first initialization. check-in: 477c448748 user: vasiljevic tags: trunk
14:18
Fixed Sp_ReadWriteMutexRLock() to check existence of sole writer by checking the mutex lockcount to be negative check-in: 6736cd56cb user: vasiljevic tags: trunk
2006-10-07
09:19
Creating branch thread-2-6-5-branch Closed-Leaf check-in: 4cf8b62f8c user: cvs tags: thread-2-6-5-branch
09:19
Creating branch rel-2-6-5-branch Closed-Leaf check-in: be96402e19 user: cvs tags: thread-2-6-5, rel-2-6-5-branch
09:19
Fixed ttrace example. Regenrated all docs. check-in: d651f5e526 user: vasiljevic tags: trunk
09:05
Corrected some typos in comments. check-in: 5e21aa3341 user: vasiljevic tags: trunk
08:47
Bumping up the version to 2.6.5 check-in: d25b25306b user: vasiljevic tags: trunk
08:16
Fixed small typo in the docs check-in: 8718478e20 user: vasiljevic tags: trunk
2006-10-06
17:13
Removed call to Tcl_PkgRequire. check-in: d1809920a0 user: vasiljevic tags: trunk
15:08
Oopp's wrong datum. Also changed some wording. check-in: b882779e11 user: vasiljevic tags: trunk
15:03
Uses package name again to construct names of the helper proc so we do not inadvertently overwrite some other user procedures when loading the package. check-in: 81ae575f50 user: vasiljevic tags: trunk
14:57
Explained recent add/removal of Tcl_PkgRequire from thread and tpool check-in: a10075bde7 user: vasiljevic tags: trunk
14:57
Regenrated. check-in: 0ec2a87fb3 user: vasiljevic tags: trunk
14:55
Automatically call "ttrace::update" when ttrace package is loaded. This simplifies handling during the new thread creation. check-in: e694729f30 user: vasiljevic tags: trunk
14:39
Updated ttrace.man examples and regen the docs check-in: 51e415d89f user: vasiljevic tags: trunk
14:37
lib/ttrace.tcl: Spliced version numbering of the Ttrace package to the version of the Thread package because of the weirdness of the Tcl package loading mechanism. Also, the broadcast script used within the ttrace::eval now explicitly loads Ttrace package in every broadcasted thread. check-in: 5f38194293 user: vasiljevic tags: trunk
14:31
Removed Tcl_PkgRequire from the new thread. check-in: 167895652d user: vasiljevic tags: trunk
14:31
Added spearate handling for Ttrace loading. check-in: ca59f8df3a user: vasiljevic tags: trunk
13:24
Added ThreadInit and modifed Thread_Init to call it before declaring the package loaded. The ThreadInit is now used to initalize C-package only w/o making the package "loaded" so the subsequent "package require Thread" done from the Tcl level will finish and completely load the package in the interpreter. check-in: a7d8793260 user: vasiljevic tags: trunk
2006-10-05
11:52
For AOLserver module builds, skip calling Tcl_PkgRreqiure and just shortcut to Thread_Init as we not like to load ttrace there by default. check-in: 7bd4583a87 user: vasiljevic tags: trunk
11:46
Simplifed ttrace::eval check-in: d0655c09ba user: vasiljevic tags: trunk
10:39
Fixes for seamlessly loading ttrace in any created thread. check-in: 643f8002c3 user: vasiljevic tags: trunk
10:38
Regenrated doc. check-in: 80cb145734 user: vasiljevic tags: trunk
10:32
Send broadcast messages to threads as out-of-band (on the head of the event queue). check-in: e51f99512b user: vasiljevic tags: trunk
10:24
The ttrace::eval does only broadcast the ttrace::update. check-in: cf808b22b8 user: vasiljevic tags: trunk
10:22
Regenrated doc. Added examples to ttrace.man check-in: afee9f57a1 user: vasiljevic tags: trunk
10:22
In every new thread, call Tcl_PkgRequire() to load the package itself. check-in: 8ab0978a36 user: vasiljevic tags: trunk
2006-08-06
10:35
Creating branch thread-2-6-4-branch Closed-Leaf check-in: a3b7d0d039 user: cvs tags: thread-2-6-4, thread-2-6-4-branch
10:35
Added remarks about 2.6.4 release check-in: 3769415ca1 user: vasiljevic tags: trunk