News for hackers. Stuff that matters.
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.
Re:A future for fork(2) by jadbox on Friday October 05, 2018 @11:55PM (#18153432)
Weird, I've never seen clone(2) used before
Re:A future for fork(2) by caf on Saturday October 06, 2018 @12:51AM (#18153590)
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...