[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: GC & OS threads
- From: Nodir Temirhodzhaev <tnodir@...>
- Date: Mon, 24 May 2004 15:15:05 +0400 (MSD)
Is it possible separate locking of lua state and GC operations, if I guarantee that each OS thread has own lua-thread, which can't modify global table (_G) and rare operations on main lua-state are enclosed to mutex?
Maybe lua_gclock/lua_gcunlock.
Now I set GC threshold to maximum and check GC when count of worker-threads = 0.
(This necessary for lua/isapi)