[CRIU] [PATCH cr 8/8] restorer: exit all threads in case of error

Andrey Vagin avagin at openvz.org
Wed Jun 13 07:35:38 EDT 2012


sys_exit() takes down only the currect thread. exit_group() should
be used to take down all threads.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/syscall-x86-64.def |    1 +
 restorer.c                 |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-restorer-exit-all-threads-in-case-of-error.patch
Type: text/x-patch
Size: 1631 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120613/7d176cc4/0008-restorer-exit-all-threads-in-case-of-error.bin


More information about the CRIU mailing list