[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Sleep
- From: Daniel Aquino <mr.danielaquino@...>
- Date: Thu, 14 Oct 2010 05:42:09 -0400
The example I gave is very easy to support on winapi.
I could throw one together including makefile and visual studios
project if someone wants.
Should be easy to support sdl as well.
On 10/14/10, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Wed, Oct 13, 2010 at 11:28 PM, Javier Guerra Giraldez
> <javier@guerrag.com> wrote:
>> 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....
>
> Yes, admirable consistency, but it would be _convenient_ to have
> os.sleep() around ;)
>
> It isn't so easy to find one out there, without bringing in the whole
> of LuaSocket, which feels inelegant.
>
> steve d.
>
> PS. another solution is to use Alien to bring in Sleep (on Windows) or
> usleep (on POSIX)
>
>
--
Sent from my mobile device