Next: Implementing CRITICAL construct, Up: The libgomp ABI
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 that's not worthwhile though...