lua-users home
lua-l archive

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

Rici> You can achieve roughly the effect you are looking for by running
Rici> the Lua function in its own thread, though.

Antero> And how can I do it?

It is well described on page 34 of the reference manual (section 3.20)

Ignore the sentence about lua_closethread(). Threads are 
and cannot be closed explicitly.