Fork : concurrency or parallelism
<p>I was recently doing some experiments with the <code>fork</code> function and I was concerned by a "simple" (short) question: </p>

<ul>
<li>Does <code>fork</code> uses concurrency or parallelism (if more than one core) mechanisms?</li>
<li>Or, is it the OS which makes the best choice?</li>
</ul>

<p>Thanks for your answer.</p>

<p><em>nb: Damn I fork bombed myself again!</em></p>

<h2>Edit:</h2>

<ol>
<li>Concurrency: Each operation run on one core. Interrupts are received in order to switch from one process to another (Sequential computation).</li>
<li>Parallelism: Each operation run on two cores (or more).</li>
</ol>