lua-users home
lua-l archive

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


Hello, 

I'm looking for the fastest and least intrusive way to implement 
timeouts in LuaJIT.

Ideally, I'd be looking for a solution that can be always on,
and have minimal impact on performance. 

Ideally, I would keep track of time myself, (with alarm() call or
similar), and just tell lua_State that it should not run any more
instructions.

Is this a solved problem?

-- 
http://tarantool.org - an efficient, extensible in-memory data store