.
D 2000-10-26T00:54:25
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2433\sBug\nVersion:\s8.2b1\nSubmitDate:\s'1999-07-22'\nLastModified:\s'1999-07-30'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\sredman\nOS:\sWindows\sNT\nOSVersion:\s4.0\ssp5\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nFixedInVersion:\sNA\nClosedDate:\s'1999-07-30'\n\n\nName:\nDavid\sGravereaux\n\nCVS:\nRCS:\s@(#)\s$Id:\stclObj.c,v\s1.9\s1999/06/15\s01:16:23\shershey\sExp\s$\n\nReproducibleScript:\nN/A\s\sI\scan\sonly\sexplain\sit.\n\nObservedBehavior:\nIn\sa\smultithreaded\sextension\sI\sam\sworking\son,\sI\shave\sto\screate\sTcl_Obj\n\s\s\s\scopies\sfrom\soutside\sthe\sthread\scontext\sof\sTcl.\s\sIn\srare\sinstances,\sthere\n\s\s\s\sis\sa\spossibility\sthat\sthe\srefcount\swill\sbe\sgreater\sthan\s1\s(Tcl_IsShared\n\s\s\s\sreturns\strue)\sand\sI\sappropriately\sTcl_DuplicateObj.\n\s\s\s\s\n\s\s\s\sAlthough\sI\shave\srealized\sthat\sthe\scopies\sare\sonly\sused\sin\sa\s"read-only"\n\s\s\s\sfashion\sand\sI\sdon't\sneed\sto\sTcl_DuplicateObj,\sit\sdid\sfrighten\sme\sto\ssee\n\s\s\s\sthat\sTcl_DuplicateObj\sisn't\sthread-safe.\n\s\s\s\s\n\s\s\s\sAs\sthe\sObject\sallocator\sis\sa\sglobal\sentity,\sI\sdo\sfeel\sthat\saccess\sto\sit\n\s\s\s\sdeserves\sa\smutexlock.\n\n\n\nThe\sfunction\sis\salready\sthreadsafe.\s\sDavid\sagrees.\s\n--\s07/30/1999\sredman
J foundin obsolete:\s8.2b1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Tcl_DuplicateObj\sneeds\sthread\ssafety
J type Bug
K 218200ffffffffffffffffffffffffffffffffff
U nobody
Z 64a7b7bbbaf3220dd0121971df4ff6a4