Hacker News new | past | comments | ask | show | jobs | submit login

fork(2) is largely superseded by clone(2) which works similarly to rfork. The CLONE_VM flag is equivalent to rfork's RFMEM.



Weird, I've never seen clone(2) used before


It's used in the implementation of pthread_create().


Also fork(3) (the libc wrapper using GLIBC), is often just calling clone(2) internally: https://stackoverflow.com/questions/18904292/is-it-true-that...




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

Search: