Skip to content
Tcl Source Code Artifact [647fb88285]
Login

Artifact [647fb88285]

Artifact 647fb8828571b32a3817265ee9fcb2ae644261e1:

Ticket change [647fb88285] - Ticket [219268ffffffffff|219268ffff] <i>Catching errors at [vwait] instead of [bgerror]</i> status still Open with 4 other changes by ferrieux on 2008-04-10 22:39:47.
D 2008-04-10T22:39:47
J icomment Logged\sIn:\sYES\s\nuser_id=496139\nOriginator:\sNO\n\nIt\sis\strue\sthat\sthe\svarious\scallbacks\scall\sTcl_BackgroundError()\swhich\sdoes\stwo\sthings:\n\s\s\s-\senqueue\sthe\serror\sin\sa\slinked\slist\sin\sassocdata("tclBgError")\n\s\s\s-\sif\snot\sdone\syet,\sTcl_DoWhenIdle(HandleBgErrors)\n\nMy\snaive\sidea\swas,\sin\spresence\sof\s[vwait\s-syncerr],\sto\sdirectly\stest\sthe\snon-emptiness\sof\sthat\slinked\slist\sat\seach\sat\seach\sturn\sof\sthe\svwait\sloop,\sand\sto\sdirectly\sreturn\sfrom\s[vwait]\swith\sthe\sproper\sTCL_ERROR\sand\sassociated\serror\sstring\scomputed\sfrom\swhat's\sstored\sin\sthe\sfirst\scell\sof\sthe\slist\s(BTW\sI\sdon't\sknow\sin\swhat\ssituations\sthis\slist\scould\sbe\slonger\sthan\s1).\n\nSo,\sthis\swould\sonly\saffect\sthe\sone\svwait\sthat\shas\sthe\sflag,\sand\swould\sdo\sso\swithout\snon-local\sinfluence\son\sthe\sbehavior\sof\sthe\sgeneral\sclient\sroutines\slike\sTcl_BackgroundError()\set\sal.\n\nOr\sam\sI\smissing\ssomething\s?\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 219268ffffffffffffffffffffffffffffffffff
U ferrieux
Z e2291da65b5b56a20370a6e1994027a3