Skip to content
Tcl Source Code Artifact [c629cad7ac]
Login

Artifact [c629cad7ac]

Artifact c629cad7ac7731d7fab4bf4f3af0f52de60ae343:

Ticket change [c629cad7ac] - Ticket [3448556fffffffff|3448556fff] <i>Segmentation fault on exit in tsv</i> status still Open with 4 other changes by tombert on 2011-12-05 02:05:34.
D 2011-12-05T02:05:34
J icomment A\sbit\smore\son\sthe\stcl\swhat\sI'am\sdoing:\nIt's\sa\srather\ssimple\sprocedure\sthat\scalls\sitself\safter\sa\srandom\stimeout,\sthe\sfirst\sline\sis\saccessing\sthe\stsv\s"host"\svariable\swhich\syou\scan\ssee\sin\sthe\ssegmentation\sfault.\sSo\sI've\sgot\sthe\sfeeling\sthat\sthe\s"after"\sis\scalled\sduring\sor\safter\sthe\sthread\shas\sbeen\sdestroyed.\sHope\sthis\shelps\sa\sbit.\nThx\sfor\syour\ssupport.\n\n\nproc\spingCheckCycle\s{tid\scbObj}\s{\n\s\s\s\sset\snewState\s[isping\s[tsv::get\shost\s[thread::id]]]\n\s\s\s\sif\s{$newState\s!=\s[tsv::get\spingStatus\s[thread::id]]}\s{\n\s\s\s\s\s\s\s\stsv::set\spingStatus\s[thread::id]\s$newState\n\s\s\s\s\s\s\s\sthread::send\s-async\s$tid\s[list\s$cbObj\scallCallback\s-type\sonpingcb\s-map\s[list\s%ping\s$newState]]\n\s\s\s\s}\n\s\s\s\safter\s[expr\s{entier(3000\s+\srand()*3000)}]\s[list\spingCheckCycle\s$tid\s$cbObj]\n}\n\n\n
J login tombert
J mimetype text/plain
J username tombert
K 3448556fffffffffffffffffffffffffffffffff
U tombert
Z eb99c7ccb61a1930ececda39b1a86fbe