[CRIU] Re: [PATCH cr] pipe00: replace polling on waiting

Pavel Emelyanov xemul at parallels.com
Wed Oct 10 09:31:31 EDT 2012


On 10/10/2012 05:21 PM, Andrey Vagin wrote:
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
>  test/zdtm/live/static/pipe00.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/test/zdtm/live/static/pipe00.c b/test/zdtm/live/static/pipe00.c
> index 1ae10cd..04c45cb 100644
> --- a/test/zdtm/live/static/pipe00.c
> +++ b/test/zdtm/live/static/pipe00.c
> @@ -55,8 +55,7 @@ int main(int argc, char ** argv)
>  
>  		test_daemon();
>  
> -		while (test_go())
> -			;
> +		test_waitsig();
>  
>  		ret = read(12, buf, sizeof(TEST_STRING));
>  		if (ret != sizeof(TEST_STRING)) {
> 


Applied


More information about the CRIU mailing list