The example is very bad... If you wanna make manythreaded apps - you should consider following facts:
1. At low level - threads(and processes) are OS objects and they are governed by OS (so called "parallel abilites" of any programmin' language is just a sugar above them) 2. Threads and processes are limited resources and there is overhead as much 1-4 mb per process (and ~100kb per thread) 3. It takes some time to create thread and switch between them .. as ~30000 processor tacts for creation a thread, and ~2000-3000 tacts for switchin' between 4. Typecally the number of threads for numerical caculations should not exceed the number of workers (cores) your computional system
