title: fork() in C; which should be parent process which should be child process
body: <p>This may seem to be a dumb question but I don't really have a good understanding of <code>fork()</code> other than knowing that this is about multi-threading. Child process is like a thread. If a task needs to be processed via <code>fork()</code>, how to correctly assign tasks to parent process and child process?</p>