[MudWalker] sleep() or equivalent

Gavin Kerr gk
Sat Mar 19 19:19:45 PST 2005


On 18 Mar 2005, at 21:48, Kevin Reid wrote:

> Gavin Kerr <gk at quantumlemming.net> wrote:
>
>> Is there any way to get access to sleep() or usleep() from lua in
>> mudwalker?
>
> I do plan to add such a feature.
>
> (Actually calling sleep() would cause MudWalker to completely hang for
> the duration, so it's somewhat more complicated than just adding the
> function.)

I understand that, but at the moment the only way to pause is to do a 
busyloop, which hangs the app for the duration anyways and is also 
hideously dependant on CPU load, and it also maxes the CPU out for 
anything running in the background.

Can we please, please, have access to sleep() as a band-aid in the 
meantime? (Beg, fawn, etc :)

>> If not, can I make this a feature request :)
>
> Thanks for letting me know what you'd find useful

Thanks for responding so rapidly, and making such a useful app in the 
first place.

> -- 
> Kevin Reid                            <http://homepage.mac.com/kpreid/>

Gav




More information about the MudWalker mailing list