1 extern void abort (void);
10 #pragma omp parallel for firstprivate (a) lastprivate (a) \
11 num_threads (2) schedule(static)
12 for (i
= 0; i
< 10; i
++)
15 /* The thread that owns the last iteration will have computed
16 30 + 5 + 6 + 7 + 8 + 9 = 65. */