cg_enter_and_wait_for_frozen
if (cg_enter_and_wait_for_frozen(cgroup[1], pid, true))
if (cg_enter_and_wait_for_frozen(cgroup[0], pid, false))