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 and 50 ancestors 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
10:28
Regenenrated for 2.6.4 check-in: 622b66848b user: vasiljevic tags: trunk
10:18
Bumped version to 2.6.4 check-in: 1c7ffddfd0 user: vasiljevic tags: trunk
10:16
Removed version information from README check-in: b1b5028a43 user: vasiljevic tags: trunk
10:08
Silence compiler warnings check-in: 7864e8cff0 user: vasiljevic tags: trunk
10:03
Silenced compiler warning check-in: a8305af5cd user: vasiljevic tags: trunk
10:01
Silenced compiler warnings for 64bit compile. check-in: 95e041786b user: vasiljevic tags: trunk
2006-06-04
10:42
See file... check-in: 0c6f153d7d user: vasiljevic tags: trunk
10:41
Removed some undocumented and unused debugging defs. check-in: 573ece1cc0 user: vasiljevic tags: trunk
10:27
See file... check-in: 62fa8ffacb user: vasiljevic tags: trunk
10:16
SvIncrObjCmd now implicitly creates shared array and variable and initializes it to zero if the variable and/or array is not found. check-in: 8740f0bb55 user: vasiljevic tags: trunk
2006-04-05
23:17
* win/vc/pkg.vc (PACKAGE_VERSION): correct to 2.6.3 for MSVC make. check-in: 8467df352a user: hobbs tags: trunk
2006-03-29
05:27
submit source without printfs (doh!) check-in: 68cb2c8bfb user: hobbs tags: trunk
05:25
* generic/threadPoolCmd.c (AppExitHandler): fix teardown to destruct pool list correctly. [Bug 1427570] check-in: 0450116009 user: hobbs tags: trunk
2006-03-16
13:04
Tagged for release of 2.6.3 check-in: 49605bdc22 user: vasiljevic tags: trunk
12:57
Bumped to 2.6.3 check-in: d01d7d75ee user: vasiljevic tags: trunk
2006-03-15
18:13
Fixed BUILD_sample to BUILD_thread for some obscure Windows behaviour check-in: 367738411b user: vasiljevic tags: trunk
2006-03-14
13:56
Added hints about moving to 2.6.3 release check-in: ff19053b66 user: vasiljevic tags: trunk
13:52
Bumped to 2.6.3 release check-in: 6448f57d1b user: vasiljevic tags: trunk
2006-02-09
10:04
See file. check-in: 4d804595fd user: vasiljevic tags: trunk
10:03
Uses TEA3.5 check-in: 0b741aa986 user: vasiljevic tags: trunk
09:57
Fixed race condition when testing constraints (mutex being locked by the caller thread) when waiting on the condition variable. Also, fixed exclusive mutex ownership and usage counting. check-in: 9e5cda4942 user: vasiljevic tags: trunk
2006-01-28
15:11
Revamped handling because of the deep race condition which resulted in deadlocks when using exclusive mutexes. check-in: cdfb90f876 user: vasiljevic tags: trunk
2005-12-05
18:04
Fixed broken ttrace::eval (Tcl Bug #1358496) check-in: 10c324ec4e user: vasiljevic tags: trunk
2005-10-15
06:34
See file. check-in: a561e8903b user: vasiljevic tags: trunk
06:24
Channel transfer tests allowed for Windows starting with Tcl core 8.4.11 check-in: 3c9c85799e user: vasiljevic tags: trunk
06:23
Added ThreadCutChannel utility proc to cut out the channel from thread/interp and clean pending channel events from the event queue. check-in: bf5638b0a7 user: vasiljevic tags: trunk
2005-09-23
15:44
See file. check-in: 468f461be4 user: vasiljevic tags: trunk
15:41
ThreadDetach sets the both source and target thread ID's for the detached channel to zero, thus signalizing the cleanup code to leave the channel in the list when the thread who detached it exits. check-in: f5b8d0b6f3 user: vasiljevic tags: trunk
2005-08-24
06:32
Made some calls static so they don't interfere with certain extensions if statically linked. check-in: 09e8798a2b user: vasiljevic tags: trunk
2005-08-08
14:11
Fixed traversing the list of registered object types in Sv_DuplicateObj() check-in: 58f60b548a user: vasiljevic tags: trunk
2005-07-28
09:14
Release 2.6.2 check-in: 79dacfe786 user: vasiljevic tags: trunk
09:01
Some clarifications about --with-gdbm switch check-in: 85ecfaa374 user: vasiljevic tags: trunk
08:57
Bumped version to 2.6.2 check-in: ad24a634c5 user: vasiljevic tags: trunk
08:52
Removed Thread_Unload and Thread_SafeUnload because we can't really be unloaded. check-in: 86833b2e05 user: vasiljevic tags: trunk
08:51
Regenerated check-in: 0f62775a7e user: vasiljevic tags: trunk
08:50
Regenerated. check-in: 49e225a65b user: vasiljevic tags: trunk
08:48
Bumped version to 2.6.2 check-in: fa38b7ab44 user: vasiljevic tags: trunk
08:48
Fixed compilation against non-standard gdbm library location as per Tcl patch request #1245204 check-in: f441b59be0 user: vasiljevic tags: trunk
2005-07-26
19:23
* Makefile.in: Remove SYSTEM_TCLSH and any code that tries to run tclsh at build time aside from running the test cases. * configure: Regen. * configure.in: Remove calls to TEA_BUILD_TCLSH and TEA_BUILD_WISH since these were removed from tcl.m4. This fixes up the build when --with-tcl indicates either a build dir or and install dir. check-in: 64b1a89ae0 user: mdejong tags: trunk
2005-07-25
17:15
Simplified pkgIndex.tcl by adding a helper procedure check-in: 2494c41893 user: vasiljevic tags: trunk
07:19
* Makefile.in: Subst TCLSH_PROG as SYSTEM_TCLSH and subst BUILD_TCLSH and BUILD_TCLSH_PROG. * configure: Regen. * configure.in: Invoke TEA_BUILD_TCLSH from tcl.m4 to correctly determine BUILD_TCLSH. check-in: d92ba87362 user: mdejong tags: trunk
2005-04-12
07:34
See file check-in: 14704a1534 user: vasiljevic tags: trunk
07:32
Reverted some temporary changes which do not belong there and were used for some internal testing (go tchecked in by mistake) check-in: c068ea837d user: vasiljevic tags: trunk
2005-04-09
18:23
See file check-in: 33241bba5a user: vasiljevic tags: trunk
18:20
Added Thread_Unload and Thread_SafeUnload to be able to load into the 8.5 shell. check-in: 31e68dc207 user: vasiljevic tags: trunk
2005-03-24
22:25
TEA update check-in: 7a8b3b7794 user: dgp tags: trunk
2005-03-19
01:40
* Makefile.in (AR): use @[email protected] (TCLSH_ENV): add TCL_THREAD_LIBRARY var * pkgIndex.tcl.in: grok TCL_THREAD_LIBRARY var check-in: 092e918428 user: hobbs tags: trunk
01:39
update to TEA 3.2 check-in: 41a140a8e0 user: hobbs tags: trunk
2005-03-15
08:56
See file check-in: 40b8e7a6a7 user: vasiljevic tags: trunk
08:34
Applied patch for Bug #1163357. Also, fixed the case when the directory path contains blanks. check-in: e3f4fa3dd3 user: vasiljevic tags: trunk