[libvirt] [PATCH v3] Add macro for handling exponential backoff loops.
Richard W.M. Jones
rjones at redhat.com
Fri Apr 15 08:12:52 UTC 2016
On Fri, Apr 15, 2016 at 10:01:50AM +0200, Ján Tomko wrote:
> > +#define VIR_TIME_WHILE_WITH_BACKOFF(var) \
> > + while (virTimeBackOffCondition(&(var)))
>
> This still unnecessarily hides the while keyword.
As noted in the cover letter, I left this because I preferred it.
Would like to hear what others think.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
More information about the libvir-list
mailing list