.
D 2000-10-26T01:10:05
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s4532\sBug\nVersion:\s8.2.3\nSubmitDate:\s'2000-03-24'\nLastModified:\s'2000-05-28'\nSeverity:\sLOW\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sSolaris\nFixedDate:\s'2000-05-28'\nFixedInVersion:\s8.4a1\nClosedDate:\s'2000-10-25'\n\n\nName:\nZoran\sVasiljevic\n\nReproducibleScript:\nUse\sthread\scommand\sto\screate/destroy\smany\sthreads.\nObserve\sprocess\ssize\sand\samuse\syourself\sseeing\sit\sgrow\sand\sgrow\sand\sgr...\n\n\stime\s{set\st\s[thread\screate];\sthread\ssend\s$t\s"thread\sexit"}\s1000\n\nObservedBehavior:\nTclpThreadCreate()\screates\san\snon-detached\sthread,\swhich\nnobody\scares\sto\sjoin.\sThis\sresults\sin\sprocess\ssize\n(the\sstack,\snot\sthe\sheap!)\sto\sgrow\sexcessively.\nPurify\sand\sfriends\sdo\snot\scomplain\ssince\sno\sheap\sleak...\n\nDesiredBehavior:\nHave\sTclpThreadCreate()\smake\san\sdetached\sthread\sby\scalling\npthread_detach(idPtr)\sor\smake\ssome\sprovisions\s(wrappers)\nfor\sAPI\sso\swe\scan\scall\sit\sourselves.\n\n\n\nFrom\sKupries:\n\nThe\snew\spublic\sAPI\sfor\screation\sof\sthreads\screates\sdetached\sthreads\sby\ndefault\s(no\sflags),\sso\sthe\sproblem\smentioned\sin\sreport\s4532\sshould\sbe\nsolved\stoo.\n\nThose\sAPIs\sare\sin\s8.4a1.\n\nThere\swas\salso\sa\sfix\sin\sthe\sUnix\snotifier\sfor\s8.3.1\sthat\smay\salleviate\nthe\sabove\sproblem.\s\n--\s05/28/2000\shobbs
J foundin final:\s8.2.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 49.\sThreading
J title Tcl8.2.3\signores\sjoining\sthreads\s-\sstack\sproblems!
J type Bug
K 219065ffffffffffffffffffffffffffffffffff
U nobody
Z 3c3d5b10646bcbe659e54de07b1df181