Next: , Up: The libgomp ABI   [Contents][Index]


9.1 Implementing MASTER construct

if (omp_get_thread_num () == 0)
  block

Alternately, we generate two copies of the parallel subfunction and only include this in the version run by the master thread. Surely this is not worthwhile though...