lua-users home
lua-l archive

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


Failure mode for pre-emptive threads: One thread occasionally stomps on
another thread. Mutexes occasionally get caught in deadlock patterns. Key
word in almost all case: "occasionally" -- i.e., hard to reproduce.

Failure mode cooperative threads: A thread fails to yield and hogs the
processor. Generally, this will happen consistently.

Which sort of system would you rather debug?

That being said, a good basic scheduler and I/O package for Lua would
probably be a good thing.

Mark