critical.c File Reference

#include "libgomp.h"
#include <stdlib.h>

Include dependency graph for critical.c:

Go to the source code of this file.

Functions

void GOMP_critical_start (void)
void GOMP_critical_end (void)
void GOMP_critical_name_start (void **pptr)
void GOMP_critical_name_end (void **pptr)
void GOMP_atomic_start (void)
void GOMP_atomic_end (void)
static void __attribute__ ((constructor))

Variables

static gomp_mutex_t default_lock
static gomp_mutex_t create_lock_lock
static gomp_mutex_t atomic_lock


Function Documentation

static void __attribute__ ( (constructor)   )  [static]

Definition at line 137 of file critical.c.

References atomic_lock, create_lock_lock, default_lock, and gomp_mutex_init().

Here is the call graph for this function:

void GOMP_atomic_end ( void   ) 

Definition at line 131 of file critical.c.

References atomic_lock, and gomp_mutex_unlock().

Here is the call graph for this function:

void GOMP_atomic_start ( void   ) 

Definition at line 125 of file critical.c.

References atomic_lock, and gomp_mutex_lock().

Here is the call graph for this function:

void GOMP_critical_end ( void   ) 

Definition at line 40 of file critical.c.

References default_lock, and gomp_mutex_unlock().

Referenced by function().

Here is the call graph for this function:

Here is the caller graph for this function:

void GOMP_critical_name_end ( void **  pptr  ) 

Definition at line 99 of file critical.c.

References GOMP_MUTEX_INIT_0, and gomp_mutex_unlock().

Here is the call graph for this function:

void GOMP_critical_name_start ( void **  pptr  ) 

Definition at line 50 of file critical.c.

References create_lock_lock, gomp_malloc(), gomp_mutex_destroy(), gomp_mutex_init(), GOMP_MUTEX_INIT_0, gomp_mutex_lock(), and gomp_mutex_unlock().

Here is the call graph for this function:

void GOMP_critical_start ( void   ) 

Definition at line 34 of file critical.c.

References default_lock, and gomp_mutex_lock().

Referenced by function().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

gomp_mutex_t atomic_lock [static]

Definition at line 122 of file critical.c.

Referenced by __attribute__(), GOMP_atomic_end(), and GOMP_atomic_start().

gomp_mutex_t create_lock_lock [static]

Definition at line 46 of file critical.c.

Referenced by __attribute__(), and GOMP_critical_name_start().

gomp_mutex_t default_lock [static]

Definition at line 31 of file critical.c.

Referenced by __attribute__(), GOMP_critical_end(), and GOMP_critical_start().


Generated on Fri Apr 5 05:38:47 2013 for Libgomp by  doxygen 1.4.7