[CRIU] [PATCH] zdtm: test -- Add trivial poll() timeout test

Cyrill Gorcunov gorcunov at gmail.com
Tue Mar 17 08:09:28 PDT 2015


On Tue, Mar 17, 2015 at 06:05:13PM +0300, Andrew Vagin wrote:
> > 
> > To make sure it's workable on its own.
> 
> We don't do this in other tests, so I think we should not do it here too

Sure.

> > 
> > You mean to spin until some external sync event from main thread comes?
> 
> Yes, I do.

OK

> > > 
> > > When can we get EINTR here?
> > 
> > Yes we can i think. Why can't we?
> 
> We set all sighandlers with SA_RESTART, so I don't understand when
> poll() returns EINTR.

I hit this problem, but maybe I overlooked something, will re-check.
Thanks for comments.


More information about the CRIU mailing list