Evan Jones personal blog

Fork() without exec() is dangerous in large programs (2016)

The UNIX fork() system call seems like an elegant way to process tasks in parallel. It creates a copy of the current process, allowing tasks to read the same memory, without needing fine-grained synchronization. Unfortunately, you need to use it extremely carefully in large programs because fork in a multi-threaded…
Points
128
HN comments
236
Submissions
2
Cited by
0 commenters

Systems & Performance2022

On Hacker News

SubmittedTitle on HNPointsComments
Jun 14, 2022Fork() without exec() is dangerous in large programs (2016) by goranmoomin128135
Aug 17, 2016Fork() without exec() is dangerous in large programs by zdw84101

More from Evan Jones

All 11 posts →

Related posts from the same era