Next:
Threads; Computing the value
Up:
OpenMP
Previous:
Hello world
Contents
Loop work-sharing
The iterations of a loop are scheduled dynamically across the team of threads.
A thread will perform CHUNK iterations at a time before being scheduled for the next CHUNK of work.
pgcc -o omp_workshare code26.c -mp
Cem Ozdogan 2009-01-05