[zeromq-dev] tasksink2 example slightly confusing

jeremy avnet spork-zmq at theory.org
Wed Nov 10 18:12:05 CET 2010


https://github.com/imatix/zguide/blob/master/examples/C/tasksink2.c#L27

It looks like the code was going to add up the results received (total_msec is set to zero before processing 100 tasks), but then after the processing loop, total_msec is just set to the clock time duration.

Was the intention to calculate both or just the clock time?

.:. brainsik




More information about the zeromq-dev mailing list