|
LLVM OpenMP 22.0.0git
|
Go to the source code of this file.
Functions | |
| static void | wait_on_flag (int *flag) |
| static void | signal_flag (int *flag) |
| int | main (int argc, char **argv) |
Variables | |
| int | a = 0 |
| int | b = 0 |
| int | task_grabbed = 0 |
| int | task_can_proceed = 0 |
| int | task2_grabbed = 0 |
| int | task2_can_proceed = 0 |
Definition at line 33 of file taskdep_if0_2.c.
References a, b, my_sleep(), omp_get_max_threads(), omp_get_num_threads(), omp_set_num_threads, signal_flag(), task2_can_proceed, task2_grabbed, task_can_proceed, task_grabbed, and wait_on_flag().
Definition at line 12 of file taskdep_if0_2.c.
References flag, and my_sleep().
Referenced by main().
| int a = 0 |
Definition at line 8 of file taskdep_if0_2.c.
| int b = 0 |
Definition at line 8 of file taskdep_if0_2.c.
| int task2_can_proceed = 0 |
Definition at line 10 of file taskdep_if0_2.c.
| int task2_grabbed = 0 |
Definition at line 10 of file taskdep_if0_2.c.
| int task_can_proceed = 0 |
Definition at line 9 of file taskdep_if0_2.c.
| int task_grabbed = 0 |
Definition at line 9 of file taskdep_if0_2.c.