[zeromq-dev] [NEWS] zapi/1.1.0 released

Pieter Hintjens ph at imatix.com
Thu Mar 24 00:24:35 CET 2011


Hi all,

I'm happy to announce a new release of zapi, which is the new
high-level 0MQ binding for C.

This new version adds portable thread creation and threadsafe
operation. To create a child thread you use:

void *pipe = zctx_thread_new (ctx, my_thread_handler, args);

where 'pipe' is a socket (ZMQ_PAIR) you can use to talk to the new
thread. Child threads automatically get a context object to work with,
as well as a pipe back to the caller.

Next stage is to migrate the Guide C examples onto zapi, except for a
few basic ones to show the 0MQ core API.

Packages are available at http://download.zeromq.org/zapi-1.1.0.tar.gz
and http://download.zeromq.org/zapi-1.1.0.zip. To visit the project
website, use http://zero.mq/c.

Comments welcome, and especially anyone who can crash this. Zapi has
complete unit tests but is still only two days old.

-Pieter



More information about the zeromq-dev mailing list