From: Christian W. <Chr...@t-...> - 2025-05-14 07:03:02
|
On 05/14/2025 08:39 AM, Harald Oehlmann wrote: > ... > Are you speaking about the modifications in generic/tclInterp.c in the bug branch ? > https://core.tcl-lang.org/tcl/timeline?r=tkt3328635-posix-monotonic-clock&c=2025-05-14+06%3A30%3A15 > > You can also see it in this diff: > https://core.tcl-lang.org/tcl/info/8ea9c4081c39b8bf > > When I look to "interp limit" man page, there, the limit is documented as milliseconds and seconds, and not as a fix time. > > So, this is a bug and not a design change? > > I see the usage of the monotonic clock in the branch for the following commands: > > - interpreter limit > - time > - after > > For me, all those are documented in time difference (e.g. monotonic clock) and not in wall clock difference. > So, the delay/speedup by a wall clock change is IMHO a bug and not a documented feature. Please read the "RESOURCE LIMITS" section in interp.n carefully especially for the description of the "-seconds" option. For me as non native speaker the description sounds misleading but in fact that "-seconds" option is an absolute time in wall clock units. BR, Christian |