From: Harald O. <har...@el...> - 2025-05-14 07:29:45
|
Am 14.05.2025 um 09:16 schrieb Colin Macleod via Tcl-Core: > On 14/05/2025 08:02, Christian Werner wrote: >> 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. > > That's correct, and somewhat surprising. I've never used this in real > code, but I did dig into it recently to respond to a programming > challenge on Mastodon: https://mastodon.scot/@CGM/114375791583866744 > > Colin. Thanks for that. There is a rationale in the documentation, that the limit may be changed. This is reasonable. It would be better to give a "clock seconds" value instead an offset from now, but never mind. I will back-out this part from the patch and only keep "after" and "time". To change a documented feature is nearly impossible... Thanks for all, Harald |