On Fri, Sep 13, 2013 at 11:10, niXman wrote: > On OpenBSD using ktrace/kdump I determined that for process creation > 'vfork()' syscall is used, and for thread creation - 'tfork()'. > > I have two questions: > 1. Is my statement correct?
somewhat. fork() would be the syscall more likely to create a new process. and tfork() is actually spelled __tfork(). > 2. Shouldn't 'vfork()' and 'tfork()' finally use a single system call > like 'clone()'? No. Maybe the implementation for both will happen to call a function named fork1(), but that's not something you should worry about.

