lua-users home
lua-l archive

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


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