[CRIU] [PATCH 3/4] restore: unify handling of thread args of leaders and other threads

Cyrill Gorcunov gorcunov at openvz.org
Fri Dec 21 09:16:20 EST 2012


On Fri, Dec 21, 2012 at 05:19:46PM +0400, Andrey Vagin wrote:
> +		/* skip self */
> +		if (thread_args[i].pid == pid) {
> +			task_args->t = thread_args + i;

Btw, if you're going to update the set could you please
make this snippet to be

			task_args->t = &thread_args[i];

wouldn't this look more natural here?

	Cyrill


More information about the CRIU mailing list