<i>tclWinConsole: needEvent variable is used uninitialized</i> status still Open with 3 other changes
by
.
D 2022-08-20T10:36:36.142
J icomment Fixed\sin\s[fce5cfe1c7e872fe]...\r\n\r\nJust\sI\smust\sadmit,\sI\ssaw\ssomething\sthat\smay\sbe\spotentially\sdangerous:\r\n\r\nConsoleCheckProc\slocks\stwo\smutexes\sin\sa\snested\sway.\sThis\sis\stheoretically\sa\scandidate\sfor\sa\sdeadlock\sin\scertain\scircumstances.<br/>\r\nAshok,\scan\swe\sbe\ssure\sthere\sare\sno\sconstellations\swhere\sit\scould\shappen?<br/>\r\nI\smean\sTH-A\slocks\sgConsoleLock\sand\swant\sto\slock\shandleInfoPtr->lock,\sin\sthe\ssame\stime\sTH-B\sthat\sstill\shold\sthe\slock\son\shandleInfoPtr->lock\sattempting\sto\slock\sgConsoleLock\sfor\ssome\sreason,\swhat\swould\scause\sa\sfreezing.\sWe\scan\shave\sone\sactor\smore\sthat\s(especially\sby\sread/write\slocks)\smake\ssome\sexclusive\s(W)\slock\sfor\ssome\sof\sthem,\sso\sfinally\sit\scould\slead\sto\shardly\sreproducible\sheisenbug.
J login sebres
J mimetype text/x-fossil-wiki
K baa51423c28a3baf31271b979bd18cf58116a77c
U sebres
Z 5f88cc9a5a0d7017df00814a72c65b2d