As far as I am concerned, the documentations of time limits could be improved
Pages :
http://www.tcl.tk/man/tcl8.5/TclCmd/interp.htm#M45
and :
http://www.tcl.tk/man/tcl8.5/TclLib/Limit.htm
Especially, the fact that time limits must be given in "absolute time" is not very clear.
When reading carefully the current doc, I really thought that time limits had to be given in terms of "time since the interpreter was created".
An example would help, such as :
"
% interp limit testlimit time -seconds [expr [clock seconds] + 10]
sets the time limit 10 seconds in the future
"
Also, in the text, it could be said that the limit will be reached when the current time (given by the clock command, or Tcl_GetTime) will reach the time limit.
Best-
Nicolas
Logged In: YES
user_id=1463011
Originator: NO
This makes me wonder why time limits have to be provided in absolute time anyway. It seems to me that the usually one wants to specify a certain time from now. Any reason the value has to be specified absolutely?