<i>Interp limit functionality with vwait call</i> status still Open with 4 other changes
by
.
D 2004-12-16T18:31:14
J icomment Logged\sIn:\sNO\s\n\nThis\sdoesn't\sseems\sto\swork,\sTimerHandler\scall\sdoesn't\s\nseems\sto\sactivate\stimeout\scheck\seven\swith\stime\s\ngranularity\s1.\s\sPossible\sfurther\sproblems\s-\sthere\sare\scases\s\nwhen\stimeout\slimit\scheck\sis\scalled\stoo\srarely,\sso\sit\scan\sbe\s\nhandy\sto\sforce\ssuch\sa\scheck\seach\ssecond.\sImho,\sthis\scan\s\nbe\sdone\sby\schanging\swaiting\sloops\s(Tcl_Sleep\sand\s\nTcl_DoEvent)\sto\sdo\sa\slimited\swait,\scalling\sTcl_CheckLimits\s\nfrom\stime\sto\stime\swithout\schecking\stime\sgranularity.\n\nAlso\sI've\sfound\sa\ssmall\sbug\swith\stime\slimits.\s\nTcl_SetTimeLimit\ssets\srelative\stimeout\swhile\s\nTcl_CheckLimits\scheck\sabsolute\stimeout.\sChanges\sin\s\nTcl_SetTimeLimit\slike\n\s\s\s\sTcl_GetTime(&now);\n\s\s\s\susec\s=\siPtr->limit.time.usec\s+\snow.usec;\n\s\s\s\siPtr->limit.time.sec\s+=\snow.sec\s+\susec\s/\s1000000;\n\s\s\s\siPtr->limit.time.usec\s=\susec\s%\s1000000;\n\s\s\s\siPtr->limit.exceeded\s&=\s~TCL_LIMIT_COMMANDS;\nworks,\sbut\swhen\sYou\scall\s\n\s\s\s\sputs\s"Limit\sis:\s[\sinterp\slimit\s{}\stime\s]"\nfrom\sscript\sYou'll\sget\sabsolute\stimeouts,\swhat\scan\sbe\s\nmisguiding.\n\[email protected]\n
J login nobody
J mimetype text/plain
J username nobody
K 1085023fffffffffffffffffffffffffffffffff
U nobody
Z 6d7452a131880db10be6eb535fabfd6b