Skip to content
Commit 8078e387 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

collect: Factor out recurring collection of threads and children



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: default avatarPavel Emelyanov <xemul@parallels.com>
parent 83df36e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment