Tcl Source Code

Check-in [bb3d0c3db9]
Login

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

Overview
Comment:Fix [815e246806]: transferring a channel to another thread from its own file event handler could panic with "Channel released more than preserved": both threads changed the reference count of the channel. Protect it with a mutex.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | channel-refcount-thread-safe
Files: files | file ages | folders
SHA3-256: bb3d0c3db9f16e5748e5ecde014d78a826987aa3a60ae6d0d9ea0928faa2af36
User & Date: serhiy.storchaka 2026-10-13 13:22:45.547
Context
2026-10-30
07:25
Fix [815e24]: missing locks, when transferring a channel to another thread check-in: f65229e7a7 user: jan.nijtmans tags: trunk, main
2026-10-13
13:22
Fix [815e246806]: transferring a channel to another thread from its own file event handler could pan... closed check-in: bb3d0c3db9 user: serhiy.storchaka tags: channel-refcount-thread-safe
12:14
Fix [1ae976]: compiled [clock clicks -mi] should give "ambiguous option" error check-in: 88c6ad4c75 user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclIO.c.
Changes to tests/thread.test.