Are threads copied when calling fork?
No. Threads are not copied on fork(). POSIX specification says (emphasize is mine): fork – create a new process A process shall be created with a single thread. If a multi-threaded process calls fork(), the new process shall contain a replica of the calling thread and its entire address space, possibly including the states of … Read more