`llthreads2` is `llthreads` library rewritten without `LuaNativeObjects`
code generator.

Incompatibility list with origin llthreads library:
 * does not support Lua 5.0 
 * does not support ffi interface (use Lua C API for LuaJIT)
 * returns nil instead of false on error
 * start method returns self instead of true on success

Additional:
 * thread:join() method support zero timeout to check if thread alive
 * thread:join() method support arbitrary timeout on Windows threads
 * set_logger function allow logging errors in current thread
 * thread:start() has additional parameter which control in which 
thread child Lua VM will be destroyed
 * allow pass cfunctions to child thread (e.g. to initialize Lua state)

rockspecs:
http://rocks.moonscript.org/manifests/moteus/lua-llthreads2-0.1.0-1.rockspec
http://rocks.moonscript.org/manifests/moteus/lua-llthreads2-compat-0.1.0-1.rockspec


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to