lua-users home
lua-l archive

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


--- Sean Middleditch <[email protected]> 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