Can somone explaion how to star multiple threads? I'm trying to code a program with SMP support.

Also it would be handy to know how to share memory (either manualy of through arrays) between two different progs.