[zeromq-dev] Memory management
jshanab at jfs-tech.com
Thu Apr 14 12:06:46 CEST 2016
I am writing an app in C++ and using libzmq directly, not much of the c++
I am interested in zero copy or at least minimizing the number of copies of
But am running across an all too common issue, Each library used wants to
have their own memory management forcing me to copy between the systems.
Is there a way I could use boost shared_ptr<zmq_msg_t> with the functions
so ZMQ could dereference/delete after the send?
In fact is there a way to hook into the system and get a callback when it
goes to delete with the client pointer so I can delete or return it to a
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev