Skip to content
Tcl Source Code Artifact [fed33b2ff4]
Login

Artifact [fed33b2ff4]

Artifact fed33b2ff40b317ec5807e2907ee484ee89b358323ecacb0e057f72d1dea3e1c:

Manifest of check-in [fed33b2ff4] - 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. by serhiy.storchaka on 2026-10-14 15:53:49.
B 57f802259663da4d2bdb9339b9261cd0ca14705f37b187456fdac58579e2fd7c
C Fix\s[112af76b09]:\suse\san\sacquire\sload\sfor\sthe\sunlocked\scheck\sand\sa\srelease\sstore\sfor\spublishing\sin\sthe\slazy\sinitialization\sof\smutexes\sand\scondition\svariables\s(Tcl_MutexLock,\sTcl_ConditionWait2\son\sUnix\sand\sWindows)\sand\sof\sthe\snotifier\sthread,\spipe\sand\sserial\ssubsystems,\sso\sthat\sa\sthread\swhich\ssees\sthe\spointer\sor\sflag\salso\ssees\sthe\sinitialized\sdata.\sThe\spipe\sand\sserial\sinit\salso\sset\sthe\sflag\sbefore\sthe\sinitialization.
D 2026-10-14T15:53:49.112
F generic/tclInt.h b226f51ebc7d9e9c56240df1f2127bd1b6fd5c73ebd492d99f0ed86e6155f2cf
F unix/tclUnixNotfy.c 225b11a41163fb338c67208ea4292882e43002b1ad8d68b879668fd28382b672
F unix/tclUnixThrd.c 82be300444d00536cda3e52f6392deb4b4e853d118904558b1ca6f6d9f555144
F win/tclWinPipe.c 3b8e4089c32604cbafaf149d9423d34da16e5b90b8ee4b9f7d8fe44332651c6c
F win/tclWinSerial.c 7f0d50da669526e7ccf4135fbe23bd080327a53fe48e3be826b61b8ad0c7e4b6
F win/tclWinThrd.c e0d43ef1ba0511255deefb1a2e595fa9f8af9c6096354bd2e1a3f0a9ad6e5abb
P 57f802259663da4d2bdb9339b9261cd0ca14705f37b187456fdac58579e2fd7c
R 29a4f0e4aac1718a4f8e250fad4026ac
T *branch * double-checked-lock-ordering
T *sym-double-checked-lock-ordering *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z 8d827bf95781312058a325cd7786c7a2