[CRIU] [PATCH 04/13] parasite: Switch parasite thread leader to use thread helpers

Cyrill Gorcunov gorcunov at openvz.org
Tue Nov 6 11:53:11 EST 2012


 - the init() now calls for init_thread() to save blocked
   signals mask in per-thread data

 - the fini() now calls for fini_thread() to restore the
   blocked signals, note: we could use thread_leader directly
   but i think calling for fini_thread() is more generic

 - dump_misc() now uses per-thread data

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 parasite.c |   31 ++++++++++++++-----------------
 1 files changed, 14 insertions(+), 17 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-parasite-Switch-parasite-thread-leader-to-use-thread.patch
Type: text/x-patch
Size: 1996 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121106/7400e9c4/attachment.bin>


More information about the CRIU mailing list