0MQ: How to use ZeroMQ in a threadsafe manner? 0MQ: How to use ZeroMQ in a threadsafe manner? multithreading multithreading