lua-users home
lua-l archive

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

--- Sean Middleditch <> 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:

> 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