Tcl package Thread source code

Timeline
Login

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

50 most recent check-ins

2026-11-15
19:03
Fix [e650338f40]: tpool::release, and so the exit handler, returned while pool workers were still deleting their interps and finalizing their threads, and the process could crash at exit. Count workers that have left the job loop; each one decrements the count only after Tcl_FinalizeThread(), and TpoolRelease() waits for it to drop to 0 before freeing the pool. Based on the patch in the ticket. Test tpool-1.1. leaf check-in: d69e155a98 user: serhiy.storchaka tags: tpool-release-waits-exit
2026-11-14
19:25
Fix [531fa7c688]: Thread events can alter Tk behaviour. ThreadEventProc(), TransferEventProc() and the tpool RunStopEvent() ignored the event mask, so they ran whenever the event queue was serviced, including when Tk services only window events in the middle of a redisplay. A script sent with thread::send -async that destroyed the widget then crashed Tk. Leave these events in the queue unless file events are serviced. leaf check-in: 5661fae38f user: serhiy.storchaka tags: thread-events-file-mask
2026-11-13
18:21
Fix [4d8b68ce45]: ThreadExitProc() overwrote results the exiting thread had already delivered with "target thread died". After a completed thread::transfer the caller then spliced the channel back into its own list, and Tcl panicked with "SpliceChannel: trying to add channel used in different list"; a completed thread::send got a false error and its result leaked. Skip send results that are already set and transfers that are already done. leaf check-in: 27ac94039d user: serhiy.storchaka tags: exit-keeps-delivered-results
2026-11-03
16:45
Fix [f2e0c6ff57]: thread::send (synchronous) wraps the target's errorCode in an extra list level leaf check-in: 98d79954db user: jan.nijtmans tags: thread-2-8-branch
16:41
Fix [f2e0c6ff57]: thread::send (synchronous) wraps the target's errorCode in an extra list level leaf check-in: f87878b958 user: jan.nijtmans tags: trunk, main
2026-08-20
11:16
Run CI build against Tcl 9.0. Stop all support for Tcl 8.5 check-in: 39d9f08aa0 user: jan.nijtmans tags: trunk, main, thread-3-0-7
2026-07-13
11:20
Update to latest rules.vc check-in: caa1d3aa30 user: jan.nijtmans tags: trunk, main
2026-07-10
16:41
Update to latest PI (3.14) version of TEA check-in: c51efe5dca user: jan.nijtmans tags: trunk, main
2026-07-08
10:34
Version -> 3.0.7, prepare for next release check-in: 00dd2ce199 user: jan.nijtmans tags: trunk, main
2026-07-06
16:30
More 3.0.5 -> 3.0.6 changes check-in: 1489811537 user: jan.nijtmans tags: trunk, main
15:52
Add a note to keep the ttrace.tcl version in sync with package version. check-in: e1df80f94b user: stu tags: trunk, main
15:14
Sync ttrace version with package version. check-in: 7daf09db75 user: stu tags: trunk, main
2026-07-03
16:17
Update rules.vc to latest version check-in: 93215f414b user: jan.nijtmans tags: trunk, main
10:33
handle LD_LIBRARY_PATH as suggested in [30e201c711] check-in: 9411fd1e8f user: jan.nijtmans tags: trunk, main
10:30
Finish the work, handling LD_LIBRARY_PATH as intended closed check-in: 852869c920 user: jan.nijtmans tags: bug-30e201c7
07:54
Attempt to keep the original content of LD_LIBRARY_PATH too check-in: b32fa9ab9c user: jan.nijtmans tags: bug-30e201c7
2026-06-30
15:08
Merge trunk check-in: e99a0ce44b user: jan.nijtmans tags: bug-30e201c7
08:47
Fix setting ZIPFS_BUILD=0 when building for Tcl 8 (Thanks, @fgaz) check-in: db215a0bed user: jan.nijtmans tags: trunk, main
2026-06-29
16:09
Change zipfs default to no closed check-in: 4922221252 user: apnadkarni tags: bug-30e201c7-nozipfs
15:42
Set LD_LIBRARY_PATH to Tcl build area for native TCLSH_NATIVE check-in: 85a5be0c53 user: apnadkarni tags: bug-30e201c7
13:57
Create new branch named "bug-30e201c7" check-in: 03c1c3dcc7 user: apnadkarni tags: bug-30e201c7
2026-06-01
12:39
Remove autoconf 2.73 check check-in: 8c0237b059 user: apnadkarni tags: trunk, main, thread-3-0-6
2026-05-25
22:05
Add missing handling of --disable-zipfs check-in: 954e8f47cc user: jan.nijtmans tags: trunk, main
2026-05-22
11:49
Fix [9fee4b5bb2] - cross-compilation check-in: 1215387dc5 user: apnadkarni tags: trunk, main
11:33
Merge main leaf check-in: 31b303f418 user: apnadkarni tags: bug-cb338c130b8f
2026-05-19
14:42
Previous commit reverted back to autoconf-2,71. Please don't do that check-in: 5d6cb550a0 user: jan.nijtmans tags: trunk, main
04:59
Bump to 3.0.6 check-in: 494f44cf81 user: apnadkarni tags: trunk, main
03:44
Fix [ec41b4d886] - memory leak on -async with named variable check-in: ab38aa4877 user: apnadkarni tags: trunk, main
2026-05-08
05:11
Fix NMAKEHLP_NATIVE failures for Tk test-classic runs check-in: f43deecb45 user: pbrooks tags: trunk, main
2026-04-30
15:01
autoconf -> 2.73 check-in: 3373005ff4 user: jan.nijtmans tags: trunk, main
15:00
autoconf -> 2.73 check-in: e14fa771ae user: jan.nijtmans tags: thread-2-8-branch, thread-2-8-13
2026-04-26
04:27
Remove x86_64-w64-mingw32-nmakehlp.exe. In its place, use the NMAKEHLP_NATIVE variable to find an nmakehlp.exe during cross compilation. check-in: 10ea39395a user: pbrooks tags: trunk, main
2026-04-21
05:14
Remove x86_64-w64-mingw32-nmakehlp.exe. In its place, use the NMAKEHLP_NATIVE variable to find an nmakehlp.exe during cross compilation. Add find_nmakehlp.tcl to deduce NMAKEHLP_NATIVE from TCLSH_NATIVE. closed check-in: d7ec31f7ae user: pbrooks tags: pbrooks-nmakehlp-exe-removal
04:40
Create new branch named "pbrooks-nmakehlp-exe-removal" check-in: 19384ae35c user: pbrooks tags: pbrooks-nmakehlp-exe-removal
2026-01-04
15:32
Missing 'const' check-in: 8baba3818c user: jan.nijtmans tags: trunk, main, thread-3-0-5
15:31
Missing 'const' check-in: 3d91b6976a user: jan.nijtmans tags: thread-2-8-branch
2025-12-28
19:06
Version -> 3.0.5 check-in: e55bb33d99 user: jan.nijtmans tags: trunk, main
18:56
Fix [a3a3228c00]: Build failure with non-stubs Tcl 8.6 check-in: e5487f229f user: jan.nijtmans tags: trunk, main
2025-12-22
13:31
Minor simplification: Tcl 8.7 doesn't need to be supported any more check-in: 910f4fd9da user: jan.nijtmans tags: trunk, main
2025-11-25
08:39
Merge 2.8 check-in: 41e18eb2e5 user: jan.nijtmans tags: trunk, main
08:37
Update to actions/checkout@v6 check-in: 4ffa1bdda8 user: jan.nijtmans tags: thread-2-8-branch
2025-10-13
13:28
Allow ttrace.tcl to be mounted through zipfs in a static executable check-in: 29788e814b user: jan.nijtmans tags: trunk, main, thread-3-0-4
2025-09-10
10:10
thread can also be compiled with g++ check-in: 425527da03 user: jan.nijtmans tags: trunk, main
2025-09-05
09:54
Update TEA check-in: 7ca2e6b551 user: jan.nijtmans tags: trunk, main
09:50
Version -> 2.8.13 check-in: 135a662599 user: jan.nijtmans tags: thread-2-8-branch
09:39
checkout tclconfig from git check-in: 949a7fec68 user: jan.nijtmans tags: thread-2-8-branch
2025-09-04
13:16
Attempt to checkout tclconfig from git check-in: c396dcb3cc user: jan.nijtmans tags: trunk, main
2025-09-02
12:53
Version -> 3.0.4 check-in: e9cfde1bf5 user: jan.nijtmans tags: trunk, main
12:44
Make everything work for Tcl 8.6+ too check-in: 586530a607 user: jan.nijtmans tags: trunk, main
2025-08-13
12:12
Protect thread 3 from Tcl 8.5 and lower closed check-in: 7f714d9b25 user: jan.nijtmans tags: thread3-for-tcl8