LLVM OpenMP 20.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 41 of file omp50_taskwait_depend.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 36 of file omp50_taskwait_depend.c.
Referenced by main().
Definition at line 20 of file omp50_taskwait_depend.c.
References flag, and my_sleep().
Referenced by main().
int a = 0 |
Definition at line 16 of file omp50_taskwait_depend.c.
Referenced by main().
int b = 0 |
Definition at line 16 of file omp50_taskwait_depend.c.
Referenced by main().
int task2_can_proceed = 0 |
Definition at line 18 of file omp50_taskwait_depend.c.
Referenced by main().
int task2_grabbed = 0 |
Definition at line 18 of file omp50_taskwait_depend.c.
Referenced by main().
int task_can_proceed = 0 |
Definition at line 17 of file omp50_taskwait_depend.c.
Referenced by main().
int task_grabbed = 0 |
Definition at line 17 of file omp50_taskwait_depend.c.
Referenced by main().