lua-users home
lua-l archive

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

On 28 Jan 2006, at 23:17, Sergey Redin wrote:
I am trying to use Lua script in a multi-threaded application. The
threads (pthreads) are created by a library that I use. For me it
looks like a new thread is created every second, then I must do
something  with the data I receive for this thread, and after that
I have to release all the data I created (though in fact I guess
the threads are reused)

Before doing anything else, I suggest you look into threadpooling.