[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Sleep
- From: Javier Guerra Giraldez <javier@...>
- Date: Wed, 13 Oct 2010 16:28:23 -0500
On Wed, Oct 13, 2010 at 4:18 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> Is there a rationale for Lua not having a simple, non-busy sleep function?
>
> Lua is based on ANSI C and ANSI C does not have a sleep function.
i guess there are good reasons against it, but wouldn't it be easier
if there was a non-ANSI sleep surrounded by #ifdef's ? after all,
there's the GNU-only readline....
--
Javier