clone()

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Sep 20 6:26
Editor
Edited
Edited
2023 Oct 24 12:30
Refs

The main use of clone() is to implement threads

Thread PCB is more sharable PCB by option
확장성을 위해
Process Control Block
변경 최소화하고 구현되었다. Linus decided against extending the Linux kernel with threads.
child return 0, parent get child's pid
 

clone() flags

 
 
 
 
 

Recommendations