lua-users home
lua-l archive

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


I am glad to announce the release of lzmq, Lua binding to ZeroMQ library.[1]

This  release  introduce global zmq context in lzmq.threads module.
So you can use same code if you run code as thread or as process.
For example you can see code in `examples/perf2`[2].

Full changelog with previews version:
 * Rewrite zthreads module.
 * zthreads.context() function returns global context object
 * remove `runstring` and `runfile` functions from zthreads
 * add actort object to zthreads
 * add xrun/xfork/xactor functions to zthreads which uses global context (see examples/perf2)
 * threads by default run in detached joinable mode
 * add socket:reset_monitor() method
 * zmq.init_ctx use raw zmq context instead of internal pointer
 * zloop object does not destroy its internal context
 * add GSSAPI/TOS/IPC_FILTER/HANDSHAKE_IVL options
 * add IDENTITY_FD option
 * zloop.new allows only one context argument.
 * add supports `zmq_has` function
 * Fix. Use int64 as socket fd on Win X64 in ffi binding.

[1] https://github.com/moteus/lzmq
[2] https://github.com/moteus/lzmq/tree/master/examples/perf2



---
Это сообщение свободно от вирусов и вредоносного ПО благодаря защите от вирусов avast!
http://www.avast.com