Go to the documentation of this file.
18#include "ompt/ompt-signal.h"
24 int x = 0, y = 2, sem = 0;
26#pragma omp task depend(inout : x) shared(x, sem)
32#pragma omp task shared(y, sem)
39#pragma omp taskwait depend(in : x)
47#pragma omp parallel num_threads(2)