[libvirt] [PATCH v3] Add macro for handling exponential backoff loops.
Peter Krempa
pkrempa at redhat.com
Fri Apr 15 08:26:29 UTC 2016
On Fri, Apr 15, 2016 at 09:12:52 +0100, Richard W.M. Jones wrote:
> 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.
I concur with Jan. Libvirt doesn't use that convetion.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160415/7834472b/attachment-0001.sig>
More information about the libvir-list
mailing list