lua-users home
lua-l archive

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

Hello Rob,

ok, now I have understood that lua threads and OS threads are different
things. But how I can use the LuaLanes in my C program? I find no
example of the API...


Am Freitag, den 19.06.2009, 13:53 -0500 schrieb Rob Hoelz:
> Hello Marc,
> Lua threads aren't related to OS threads at all - they're just
> coroutines.  Please read the chapter on coroutines (chapter 9 in PIL
> v1), and check out LuaLanes or one of the other fine threading
> libraries for all your Lua multithreading needs.  In short, it's
> segfaulting because Lua and OS threads don't mix =(.
> -Rob Hoelz
> On Fri, 19 Jun 2009 20:44:41 +0200
> Marc Vollmer <> wrote: