[zeromq-dev] [PATCH] Add options to remote_thr and local_thr

Steven McCoy steven.mccoy at miru.hk
Mon Nov 29 10:39:32 CET 2010


On 29 November 2010 17:27, Martin Lucina <mato at kotelna.sk> wrote:

> There's lots of useful options that can and should be added to all the perf
> tests, not just *_thr.
>
>
Feel free to implement them, no one else has.

:-)

For parsing, rather than doing it by hand the best approach would be to
> nick a suitably licensed and easy to port implementation of getopt()
> somewhere.
>
> For the error reporting, please use the consistent conventions:
>
> 1) fprintf (stderr, "progname: Error in foobar() call: %s", (strerror of
> errno)).
>
> 2) exit (1) rather than return -1;
>
>
I followed the existing code convention, for example you should be using
EXIT_SUCCESS and EXIT_FAILURE, meh.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101129/15d5d984/attachment.htm>


More information about the zeromq-dev mailing list