[CRIU] Re: [PATCH v2] dump: wait task stopped for 1 sec

Pavel Emelyanov xemul at parallels.com
Tue Jan 31 08:29:07 EST 2012


On 01/31/2012 04:43 PM, Kinsbursky Stanislav wrote:
> From: Stanislav Kinsbursky <skinsbursky at parallels.com>
> 
> Wait for 1 sec in case of task is not stopped to dump stage and check it's
> state once more.
> Should help against this error:
> 
> Obtainting task stat ... Error (cr-dump.c:1213): Task in bad state: R
> 
> Signed-off-by: Stanislav Kinsbursky <skinsbursky at parallels.com>

Synchronizing with sleep()-s just sucks.


More information about the CRIU mailing list