[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Timing out LUA programs
- From: Eric Tetz <erictetz@...>
- Date: Tue, 18 Jun 2002 10:12:51 -0700 (PDT)
--- Sean Middleditch <elanthis@awesomeplay.com> wrote:
> *cough*pre-emptive Lua threads w/ time quotas*cough*
>
> Should I try starting another one of the pre-emptive vs. cooperative
> threading debates, and throw in the point of killing threads as well?
>
> Really, this feature should be simple to code in with the yield support
> Lua already has.
It already has:
http://www.tecgraf.puc-rio.br/~diego/luathreads/
> Long running Lua threads could allow the embedding application to
> continue running, or simply be killed off.
Off topic: anyone know how to "kill off a thread" safely in Windows? There is a KillThread in the
API, but it definitely does not qualify as "safe".
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com