Skip to content
Tcl Source Code View Ticket
Login

View Ticket

The documentation for the time limits may be improved

Closed / Fixed1752148fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-07-11 18:40:18
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
msofer Ticket [1752148fff]: 1 change [History diff]2007-07-12 01:42:56
dkf Ticket [1752148fff]: 1 change [History diff]2007-07-22 02:33:10
mpc_janssenplain2007-08-07 04:18:41
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?
dkf Closed ticket [1752148fff]. [History diff]2007-08-19 17:26:21
Log in (anonymous is fine) to add a comment.