<i>Concurrent Tcl_Init calls race in Unix locale initialization, causing crashes on OpenBSD</i> status still Open with 3 other changes
by
.
D 2026-10-20T08:05:30.987
J icomment Not\slooked\sat\sthis\syet,\sbut\sgenerally\sspeaking,\smy\spreference\sis\sto\skeep\sinterp\screation\s(`Tcl_Init`\sbeing\spart\sof\sit)\sas\sperformant\sas\spossible.\sPart\sof\sthat\sis\sminimizing\scalls\sas\swell\sas\ssynchronization.\sTo\sthat\send,\sis\sthere\sa\sreason\sfor\sretrieving\sthe\slocale\sfrom\sthe\senvironment\son\sa\sper\sinterp\sbasis\sand\snot\sonce\sper\sprocess\s(or\sper\sthread)?\sIf\snot,\scould\sthis\sbe\ssubsumed\sinto\s`Tcl_InitSubsystems`?\sThoughts?\r\n\r\nIn\sany\scase,\sI've\sput\sthis\son\smy\squeue\s:-)
J login apnadkarni
J mimetype text/x-markdown
K c35e347c6fb8df66917b1ab6974b3638925b4aa2
U apnadkarni
Z 2ff6bbb893909236e3c809eedece79c5