#include <omp.h>
#include <sys/time.h>
#include <unistd.h>
#include <assert.h>
#include "libgomp_g.h"
Include dependency graph for critical-1.c:
Go to the source code of this file.
Functions | |
static void | function (void *dummy) |
int | main () |
Variables | |
static volatile int | test = -1 |
static void function | ( | void * | dummy | ) | [static] |
Definition at line 14 of file critical-1.c.
References GOMP_critical_end(), GOMP_critical_start(), omp_get_thread_num(), and test.
Here is the call graph for this function:
int main | ( | void | ) |
Definition at line 30 of file critical-1.c.
References function(), GOMP_parallel_end(), GOMP_parallel_start(), and omp_set_dynamic().
Here is the call graph for this function:
volatile int test = -1 [static] |
Definition at line 12 of file critical-1.c.