Admin Production ni-theme
Current Publication

single

LabWindows/CVI

single Directive

Specifies code in a region to execute on a single thread. The executing thread might not be the master thread.

Binding thread set: current team

Format

#pragma omp single [clause[ [,]clause] ..] newline
code block

Example

Refer to OpenMP\2dfft_omp.cws for an example of using the OpenMP single directive.