 |
Linux Threads Home Page: What do the individual flags mean and do in clone()?
What do the individual flags mean and do in clone()?
The clone() system call has several flags that will indicate how much
will be shared between threads. Below you will find a table listing each
flag, its function & its implementation status.
|
Flag
|
Status
|
Description
|
| CLONE_VM |
Done |
Share data and stack |
| CLONE_FS |
Done |
Share filesystem info |
| CLONE_FILES |
Done |
Share open files |
| CLONE_SIGHAND |
Done |
Share signals |
| CLONE_PID |
Almost Done |
Share PID with parent (problems with /proc and signals go to parent) |
|
 |