Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You could do what CRIU does, but leave the original process running, and arrange to have a composite {instance ID, PID} as the return value (different on both sides).

(Trivia: in Unix VI, fork() returns both PIDs, and the C library stub arranges to return 0 to the child and the child's PID to the parent.)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: