Tcl Source Code

Check-in [fed33b2ff4]
Login

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

Overview
Comment:Fix [112af76b09]: use an acquire load for the unlocked check and a release store for publishing in the lazy initialization of mutexes and condition variables (Tcl_MutexLock, Tcl_ConditionWait2 on Unix and Windows) and of the notifier thread, pipe and serial subsystems, so that a thread which sees the pointer or flag also sees the initialized data. The pipe and serial init also set the flag before the initialization.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | double-checked-lock-ordering
Files: files | file ages | folders
SHA3-256: fed33b2ff40b317ec5807e2907ee484ee89b358323ecacb0e057f72d1dea3e1c
User & Date: serhiy.storchaka 2026-10-14 15:53:49.112
Context
2026-11-11
14:28
Fix [112af76b09]: use an acquire load for the unlocked check and a release store check-in: 2a5c8f5388 user: jan.nijtmans tags: trunk, main
2026-10-14
15:53
Fix [112af76b09]: use an acquire load for the unlocked check and a release store for publishing in t... closed check-in: fed33b2ff4 user: serhiy.storchaka tags: double-checked-lock-ordering
13:18
Fix [9336f1907d]: remove empty directories from the zipfs VFS with POSIX find options check-in: 57f8022596 user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclInt.h.
Changes to unix/tclUnixNotfy.c.
Changes to unix/tclUnixThrd.c.
Changes to win/tclWinPipe.c.
Changes to win/tclWinSerial.c.
Changes to win/tclWinThrd.c.