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

Cyrill Gorcunov gorcunov at openvz.org
Wed Nov 7 08:00:01 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 |   27 ++++++++++-----------------
 1 files changed, 10 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: 1770 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121107/273aed9f/attachment.bin>


More information about the CRIU mailing list