2 extern "C" void *memset (void *, int, __SIZE_TYPE__);
3 extern "C" void abort (void);
8 baz (int i, int *p, int j, int *q)
10 if (p[0] != 1 || p[i] != 3 || q[0] != 2 || q[j] != 4)
20 memset (p, 0, sizeof (p));
21 memset (q, 0, sizeof (q));
26 #pragma omp task firstprivate (p, q)
33 #pragma omp parallel num_threads (4)
34 foo (5 + omp_get_thread_num (), 7 + omp_get_thread_num ());