-
Pavel Emelyanov authored
We scan threads and children list several times while freezing the tree, this is done to avoid race with new threads/kids appearing. Factor out the iterations code. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
8078e387