[zeromq-dev] UUIDs

Martin Lucina mato at kotelna.sk
Mon Mar 15 14:29:42 CET 2010

sustrik at 250bpm.com said:
> Vitaly Mayatskikh wrote:
> > At Thu, 11 Mar 2010 11:10:21 -0300, gonzalo diethelm wrote:
> > 
> >> Would there be interest in adding a utility function (next to
> >> zmq_stopwatch_start ,zmq_stopwatch_stop and zmq_sleep) that would
> >> generate a UUID and return it in printable format? 0MQ already has all
> >> the code to do this, and it could be very handy for generating id fields
> >> for processes, messages, etc.
> > 
> > IMHO, this feature is not related to messaging itself. Thus, exporting
> > such function to messaging API will only trash it, and 0MQ will end
> > being another AMQP.
> Agreed.


> Actually, the three portability functions in zmq.h (zmq_wait, 
> zmq_start_stopwatch and zmq_stop_stopwatch) should be moved somewhere 
> else also.

Why are those functions exported in the first place? Is it just for use in
the perf tests?

If so then we can trivially move them into a common source file in perf/.


More information about the zeromq-dev mailing list