[zeromq-dev] zmq_msg_init_data with zero deallocation function

Martin Sustrik sustrik at 250bpm.com
Thu May 12 09:29:29 CEST 2011


On 05/11/2011 05:26 PM, Ilja Golshtein wrote:

> Although the note about stack is technically correct, the behaviour
> is undefined from C programming language standpoint.

Correct.

> I think it must
> be clearly stated the lifetime of the data must be controlled. In
> fact it must be kept until zeromq context closed, isn't it?

Correct once again. Would you like to propose a documentation patch?

Martin



More information about the zeromq-dev mailing list