Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
khuey
on Oct 5, 2018
|
parent
|
context
|
favorite
| on:
A future for fork(2)
fork(2) is largely superseded by clone(2) which works similarly to rfork. The CLONE_VM flag is equivalent to rfork's RFMEM.
jadbox
on Oct 6, 2018
[–]
Weird, I've never seen clone(2) used before
caf
on Oct 6, 2018
|
parent
[–]
It's used in the implementation of pthread_create().
dullgiulio
on Oct 6, 2018
|
root
|
parent
[–]
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: