Brain Dump

Clone

Tags
comp-arch

Is a system-call that creates a new child-process similar to fork, but for threads. See clone.

Note: You'll rarely be calling this low level function directly, since it requires a manual definition of the stack pointer and other details. Instead you can use the pthread library to define them (See pthread-functions).