Re:A future for fork(2)
by khuey on Friday October 05, 2018 @10:16AM
(#18148280)
fork(2) is largely superseded by clone(2) which works similarly to rfork. The CLONE_VM flag is equivalent to rfork's RFMEM.
[ Parent
| on HN ]
Weird, I've never seen clone(2) used before
It's used in the implementation of pthread_create().
Re:A future for fork(2)
by dullgiulio on Saturday October 06, 2018 @04:12AM
(#18154125)
Also fork(3) (the libc wrapper using GLIBC), is often just calling clone(2) internally: https://stackoverflow.com/questions/18904292/is-it-true-that...