<i>interp creation resets encoding directory search path</i> status still Open with 3 other changes
by
.
D 2025-08-13T17:28:33.849
J icomment @sebres,\sI\sam\snot\sin\sagreement\swith\syour\smods.\r\n\r\nFirst,\sas\sI\smentioned\sin\sthe\score\smailing\slist,\sTcl\smutexes\sare\srecursive\sas\sfar\sas\sI\scan\stell.\r\n\r\nSecond,\sI\sdo\snot\slike\sthe\scomparison\sof\ssystemEncoding\soutside\sof\sholding\sthe\smutex.\sGlobals\sshared\sbetween\sthreads\sshould\sbe\saccessed\sunder\sa\slock\seven\swhen\sreading.\sWhile\sI\scould\sprobably\screate\sa\scase\swhere\sthat\scomparison\sof\sdefaultEncoding\sand\ssystemEncoding\sis\sa\srace\scondition,\sas\sa\smatter\sof\sprinciple\sthe\ssafer\sroute\sis\salways\saccessing\sunder\sa\slock\sinstead\sof\sproving\sit\sis\ssafe.\r\n\r\nIn\sfact,\slooking\sat\sthe\smanagement\sof\ssystemEncoding\swithout\slocks\sled\sme\sto\screate\sthis\s(unrelated)\s[ticket](https://core.tcl-lang.org/tcl/tktview/2570123b63)\sabout\swhether\smore\sfixes\srelated\sto\ssystemEncoding\ssynchronization\sare\sneeded.\r\n\r\nOf\scourse,\sthings\sare\sdifferent\sif\sTcl\smutexes\sare\snot\srecursive\sand\sI\smisunderstood\sthe\smanpage.
J login apnadkarni
J mimetype text/x-markdown
K 87b69745be15c2816574ec415dfe2c3c407cc5d6
U apnadkarni
Z f481841aa96536e47a18ff437d6318b8