[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Before releasing Gambas 3.21.4 - Timers test failure
[Thread Prev] | [Thread Next]
- Subject: Re: Before releasing Gambas 3.21.4 - Timers test failure
- From: Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
- Date: Wed, 11 Mar 2026 00:30:05 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Because that freezes the execution... hands are faster than mind. Jussi On Wed, Mar 11, 2026 at 12:29 AM Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx> wrote: > Why Gambas "sleep" does not straight up use the system command? Isn't it > POSIX command..? > > > Jussi > > On Wed, Mar 11, 2026 at 12:17 AM Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx> > wrote: > >> I checked, and indeed the Sleep instruction repeats the system call >>> until the specified time elapses. >>> >>> So the difference between the specified time and the actual duration of >>> the instruction should come from the system. >>> >> >> And why this should not be tested? >> If someone expects and relies on "Sleep 1" sleeping for 1 second and >> your implementation cannot do that, then it should be fixed, no? >> Of course it is useful to give some tolerances for it. >> >> >> Jussi >> >