Artifact
ece6e51fc3716533efe257a647db03135f212629:
Ticket change
[ece6e51fc3]
- New ticket
[217943ffffffffff|217943ffff] <i>Tcl_AsyncMark yields the wrong thread</i>.
by
nobody on
2000-10-26 00:46:23.
D 2000-10-26T00:46:23
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3862\sBug\nVersion:\s8.3b1\nSubmitDate:\s'1999-12-13'\nLastModified:\s'2000-04-04'\nSeverity:\sCRIT\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nRelatedBugIDs:\s4826\s5791\nOS:\sWindows\s2000\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-04-04'\n\n\nName:\nDavid\sGravereaux\n\nCVS:\nI\supdated\stoday\n\nComments:\nYou\scan\scontact\sme\sfor\smore\sdetails\sregarding\sthat\sextensions\suse\sof\sTcl_AsyncMark/Tcl_QueueEvent.\s\sI\stried\sadding\sa\sTSD\sstructure\sto\stclAsync.c,\sbut\sI\scouldn't\sthe\ssystem\sto\swork.\s\sSomething\sisn't\sright\swith\show\sthe\syielding\sis\scurrently\sworking.\s\sNever\smind\sfor\sthe\smoment\sthat\sTcl_AsyncReady\sis\sprocess\sglobal\srather\sthan\sthread\sspecific.\n\nReproducibleScript:\nD:\\Projects\\TclCvs\\MainTclTrunk\\win\\Release>tcltest.exe\n%\supdate\n%\stestthread\screate\s{\n\s\sload\s"d:/projects/ghe_cvs/ghe/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}\n1156\n%\stestthread\sid\n1176\n%\supdate\nc:/temp\shas\sbeen\swritten\sto\sand\syielded\snotifier\sthread\s1176\n%\supdate\nc:/temp\shas\sbeen\swritten\sto\sand\syielded\snotifier\sthread\s1176\nc:/temp\shas\sbeen\swritten\sto\sand\syielded\snotifier\sthread\s1176\nc:/temp\shas\sbeen\swritten\sto\sand\syielded\snotifier\sthread\s1176\n%\supdate\nc:/temp\shas\sbeen\swritten\sto\sand\syielded\snotifier\sthread\s1176\n%\supdate\nc:/temp\shas\sbeen\swritten\sto\sand\syielded\snotifier\sthread\s1176\nc:/temp\shas\sbeen\swritten\sto\sand\syielded\snotifier\sthread\s1176\nc:/temp\shas\sbeen\swritten\sto\sand\syielded\snotifier\sthread\s1176\n%\n\nObservedBehavior:\nCreating\sa\snew\sinterp\swith\stestthread\s(threadID\s1156\sabove)\sresulted\sin\sthe\sEventProc\sof\sthat\sextension\sto\shappen\sin\sthe\swrong\sthread\s(id\s1176).\s\sThis\sa\sproblem.\s\sThe\sthread\sthat\sdidn't\screate\sthat\sinterp\sis\sEval'ing\scode\sin\sit!\n\nDesiredBehavior:\nThe\sEventProc\sgets\scalled\sin\sfrom\sthe\scorrect\sthread.\n\n\n\n
J foundin obsolete:\s8.3b1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 49.\sThreading
J title Tcl_AsyncMark\syields\sthe\swrong\sthread
J type Bug
K 217943ffffffffffffffffffffffffffffffffff
U nobody
Z 6c97e6ae73b47f78f6b51270893b35bb