steven.mc...@miru.hk said:
> This has been annoying for a while, so I've added a feeble parameter parser 
> for
> the PGM options.

There's lots of useful options that can and should be added to all the perf
tests, not just *_thr.

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;

-mato
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to