Skip to content
Tcl Source Code Artifact [a5972467e0]
Login

Artifact [a5972467e0]

Artifact a5972467e047d579fd61084130318e2af502c83d:

Ticket change [a5972467e0] - New ticket [218327ffffffffff|218327ffff] <i>Exit handlers don&#39;t get called from the thread they are regi</i>. by nobody on 2000-10-26 00:56:16.
D 2000-10-26T00:56:16
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3877\sBug\nVersion:\s8.3b1\nSubmitDate:\s'1999-12-14'\nLastModified:\s'2000-04-25'\nSeverity:\sCRIT\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nRelatedBugIDs:\s3904\nOS:\sWindows\s2000\nOSVersion:\sbuild\s2128\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-04-25'\n\n\nName:\nDavid\sGravereaux\n\nCVS:\nI\supdated\son\sSaturday\n\nCustomShell:\ntclAsync.c\sfixes\sin\sprogress.\n\nReproducibleScript:\n%\stestthread\screate\s{\n\s\sload\s"d:/projects/ghe_cvs/ghe/ghe_dirwatch/debug/ghe_dirwatch.dll"\n\s\sGHE::startwatch\sc:/temp\s{gotcha\s[testthread\sid]}\n\s\sproc\sgotcha\s{id}\s{\n\s\s\s\sputs\s"c:/temp\shas\sbeen\swritten\sto\sand\syielded\snotifier\sthread\s$id"\n\s\s}\n\s\stestthread\swait\n}\n1344\n%\stestthread\ssend\s1344\s{testthread\sexit}\ntarget\sthread\sdied\n%\n\nObservedBehavior:\nNow\sthat\sI\sgot\sTcl_AsyncDelete\sto\sbe\susing\sa\sTSD,\sthat\sextension's\sexit\shandler\sis\sbeing\sinvoved\sfrom\sthe\smain\sthread\srather\sthan\sthe\sorigin\sthread\sthat\scalled\sTcl_CreateExitHandler.\s\sThis\sis\snow\spulling\sup\sthe\swrong\sTSD\sand\scrashing.\n\n\n\nThe\sproper\scall\sto\suse\sis\sTcl_CreateThreadExitHandler\sinstead\sof\nTcl_CreateExitHandler,\sbut\sif\sTcl_CreateThreadExitHandler\sis\sused\nwithin\sthe\smain\sthread,\sTcl_Finalize\sdoesn't\scall\sit.\s\n--\s04/25/2000\shobbs
J foundin obsolete:\s8.3b1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 49.\sThreading
J title Exit\shandlers\sdon't\sget\scalled\sfrom\sthe\sthread\sthey\sare\sregi
J type Bug
K 218327ffffffffffffffffffffffffffffffffff
U nobody
Z 6560b723de69db5e3b3f6c37f9c2e92f