I wrote a simpleprogram with Intel's OpenMP C++ compiler (version 8.0), which isexecuted on 4-processor SMP system running Linux. I have a couple of questions.
1. My program generates 4 threads which is the same number of the available processors. Then can I safely assume thatall threads will be placed on different processors? If not, is there any way I can pin down the threads on specific processors?
2. Once a thread starts execution, can I prevent it from yielding to another thread or process until completion ofthe parallel construct it belongs to? In other words, can I suppress preemption, either within the job or outside it?
Thanks in advance,