<i>Nested mutexes following TIP 509</i> status still Open with 3 other changes
by
.
D 2025-09-25T13:55:31.578
J icomment CI\sfailed\sagain\s-\s[https://github.com/tcltk/tcl/actions/runs/18000251395/job/51215850058|GHA#runs/18000251395/job/51215850058],\sthis\stime\swith\ssymbols\sonly\s(mem-debug\swas\snot\saffected\sbecause\sit\sdoesn't\suse\sthread-alloc).\r\n\r\nFixed\sin\s[cfc51c43785413bd],\ssince\sthe\smutex\sis\snot\sa\ssimple\scritical\ssection\sanymore,\sso\sallocMutex\sis\slarger\snow\s(and\stherefore\sthe\sheap\sgoing\sbroken).\r\n\r\nBut...\s(I'll\snot\sstop\sto\srepeat)...\r\n\r\nIt\sbothers\snow\sthe\sthread-alloc\stoo...\sThe\srecursive\smutex\sis\scompletely\sunneeded\sthere\sas\sbasically\severywhere\sin\s100%\sof\sTcl\scode,\sso\splease,\slets\srevert\sthis\scompletely\sand\sin\sbest\scase\sprovide\sthe\sTIP\s509\sas\snew\sAPI\s(for\speople\sthat\sneed\sit),\showever\sI\sdon't\sever\sthink\swe\sshall\sdo\sthat\swithin\stcl\sitself\s(and\snot\sas\ssome\smodule).\sJust\sbecause\sTIP\s509\swas\sand\sstill\sis\san\serror\sand\srecursive\smutexes\sare\sevil,\sintroduce\sconceptual\sbugs\sand\sneeded\sonly\son\ssome\svery\sspecial\scases.\sAnyway\sdefinitely\snot\sas\sreplacement\sfor\sdefault\sTcl_Mutex.
J login sebres
J mimetype text/x-fossil-wiki
K 893f8cc5db3ba8bd6bed80ce89a0a75c6088a37c
U sebres
Z fd8a7801337fe22587786013b3221abc