Skip to content
Tcl Source Code Artifact [33c50e83ff]
Login

Artifact [33c50e83ff]

Artifact 33c50e83ff1ecb5f359c7320bf605d309169f83f:

Ticket change [33c50e83ff] - Ticket [932314ffffffffff|932314ffff] <i>epoch safety in threads?</i> status still Open with 4 other changes by vasiljevic on 2004-06-09 22:22:40.
D 2004-06-09T22:22:40
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\nOK.\s\n\nJust\sfor\syour\sinfo:\swe\salready\sthought\sabout\s\nreader-writer\slocks\sbut\sabandned\sthem\nbecause\sof\sthe\spotential\soverall\sspeed\simpact\sand\neventual\swriter\sstarvation\sissues.\sThis\swas\sbased\npurely\son\sexperience.\sWe\shad\sno\stime\sto\sdeeply\s\ncheck\spros/cons\sof\sreader-writer\slocks\sat\nthat\splace\sand\sin\sthe\sgiven\stime\swe\shad\sto\sfix\sthe\s\nmain\sproblems\s(memory\scorruptions).\s\n\nAs\syou\ssaid,\sthe\sreader-writer\smodel\smight\sdo\sgiven\sthe\s\nvery\slow\swriter\sfrequency.\sNevertheless,\schanges\sto\naccomodate\sto\sreader-writer\slock\smodel\smight\snot\sbe\s\nthat\strivial\sas\sit\sseems\son\sthe\sfirst\sglance...\n\nI\sbelieve\syour\smain\sconcern\sis\sthe\shidden\sreference\sof\sthe\nfilesystem\srecord\sfrom\swithin\sthe\sTcl\spath\sobject\sand\sits\npotential\smismatch\swith\sthe\sactual\sauthoritative\sstatic\s\ncounterpart\sheld\sthread-wide,\sright?\s\nMaybe\sthe\sbetter\sway\swould\sbe\sto\savoid\sthe\smaster\s\nlist\sof\sfilesystems\saltogether\sand\sjust\sleave\sthe\sper-thread\nones.\sThose\swill\shave\sto\sbe\slocked\sjust\sonce\sfor\sthe\s\nduration\sof\sregister/unregister\sFS.\sThis\swould\sentirely\neliminate\sany\scomplex\ssynchronization\sissues\sand\nmake\sthe\s(already\scomplex\sFS)\scode\seven\ssimpler.\s\nJust\sa\sside-thought...\n\nZoran\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 932314ffffffffffffffffffffffffffffffffff
U vasiljevic
Z 6a9b46c8f21a356a48440c98c10230f5