I am writing an app in C++ and using libzmq directly, not much of the c++
wrapper stuff.

I am interested in zero copy or at least minimizing the number of copies of
large buffers.

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
pool?
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to