restore: Tune up the resident code to restore threads via last-pid concept
v2: - Pavel reported there is no need to lock/unlock last-pid file in cycle, just lock it once before threads creation and unlock at the end. Signed-off-by:Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment