[CRIU] [PATCH 1/2] criu: lock -- Add completions

Cyrill Gorcunov gorcunov at virtuozzo.com
Wed Apr 20 11:10:32 PDT 2016


On Wed, Apr 20, 2016 at 11:02:23AM -0700, Andrey Vagin wrote:
> >  
> > +#define completion_t futex_t
> 
> Why is it not typedef?

Dunno, just typed this way. Can update if you prefer.

> > +static inline void wait_for_completion(completion_t *c)
> > +{
> > +	futex_wait_until(c, 1);
> 
> I think we have to return wether it was compeleted of aborted

OK, will do.


More information about the CRIU mailing list