Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The master directive identifies a construct that specifies a structured block that is executed by the master thread of the team. The syntax of the master directive is as follows:
#pragma omp master new-line
structured-block
Other threads in the team do not execute the associated structured block. There is no implied barrier either on entry to or exit from the master construct.