[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Before releasing Gambas 3.21.4 - Timers test failure


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
>

Follow-Ups:
Re: Before releasing Gambas 3.21.4 - Timers test failureJussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
References:
Before releasing Gambas 3.21.4Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - IDE http freezeChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - IDE http freezeBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - IDE http freezeChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - Timers test failureChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - Timers test failureChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - Timers test failureBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - Timers test failureJussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - Timers test failureBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - Timers test failureJussi Lahtinen <jussi.lahtinen@xxxxxxxxx>