lua-users home
lua-l archive

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


>I made the multithreaded changes in Lua. I just splited the
>main data structure that Lua uses to save the state in two
>parts: one global (common to all threads) and one specific to
>each thread (stack, basically).
>
>The major change is in the garbage collector: mark&sweep must
>traverse all stacks and I decided to stop all threads at this
>moment. This synchronization implies that all threads must
>check for GC to enable it to occur. It's really a drawback
>but I haven't found a better way...
>
>It's implemented using pthreads library and tested in Linux
>and Solaris platforms only. I can make the source available.

Cool. Is this available via ftp? I'd like to try it on Rhapsody.
Maybe someone could add a link to it on the Lua pages.

Steve