#include <pthread.h>
Include dependency graph for bar.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
typedef unsigned int gomp_barrier_state_t |
void gomp_barrier_destroy | ( | gomp_barrier_t * | ) |
Definition at line 48 of file bar.c.
References bar, gomp_mutex_destroy(), gomp_mutex_lock(), gomp_mutex_unlock(), and gomp_sem_destroy().
Here is the call graph for this function:
void gomp_barrier_init | ( | gomp_barrier_t * | , | |
unsigned | ||||
) |
Definition at line 34 of file bar.c.
References bar, gomp_mutex_init(), and gomp_sem_init().
Here is the call graph for this function:
static bool gomp_barrier_last_thread | ( | gomp_barrier_state_t | state | ) | [inline, static] |
void gomp_barrier_reinit | ( | gomp_barrier_t * | , | |
unsigned | ||||
) |
Definition at line 63 of file bar.c.
References bar, gomp_mutex_lock(), and gomp_mutex_unlock().
Here is the call graph for this function:
void gomp_barrier_wait | ( | gomp_barrier_t * | ) |
Definition at line 55 of file bar.c.
References bar, gomp_team::barrier, gomp_barrier_wait_end(), and gomp_barrier_wait_start().
Here is the call graph for this function:
void gomp_barrier_wait_end | ( | gomp_barrier_t * | , | |
gomp_barrier_state_t | ||||
) |
Definition at line 34 of file bar.c.
References atomic_write_barrier(), bar, do_wait(), futex_wake(), gomp_mutex_lock(), gomp_mutex_unlock(), gomp_sem_post(), gomp_sem_wait(), INT_MAX, and n.
Here is the call graph for this function:
static void gomp_barrier_wait_last | ( | gomp_barrier_t * | bar | ) | [inline, static] |
Definition at line 77 of file bar.h.
References bar, and gomp_barrier_wait().
Here is the call graph for this function:
static gomp_barrier_state_t gomp_barrier_wait_start | ( | gomp_barrier_t * | bar | ) | [inline, static] |
Definition at line 61 of file bar.h.
References bar, and gomp_mutex_lock().
Here is the call graph for this function:
static void gomp_team_barrier_clear_task_pending | ( | gomp_barrier_t * | bar | ) | [inline, static] |
static void gomp_team_barrier_done | ( | gomp_barrier_t * | bar, | |
gomp_barrier_state_t | state | |||
) | [inline, static] |
static void gomp_team_barrier_set_task_pending | ( | gomp_barrier_t * | bar | ) | [inline, static] |
static void gomp_team_barrier_set_waiting_for_tasks | ( | gomp_barrier_t * | bar | ) | [inline, static] |
void gomp_team_barrier_wait | ( | gomp_barrier_t * | ) |
Definition at line 119 of file bar.c.
References bar, gomp_team::barrier, gomp_barrier_wait_start(), and gomp_team_barrier_wait_end().
Here is the call graph for this function:
void gomp_team_barrier_wait_end | ( | gomp_barrier_t * | , | |
gomp_barrier_state_t | ||||
) |
Definition at line 82 of file bar.c.
References atomic_write_barrier(), bar, do_wait(), futex_wake(), gomp_barrier_handle_tasks(), gomp_mutex_lock(), gomp_mutex_unlock(), gomp_sem_post(), gomp_sem_wait(), gomp_thread(), INT_MAX, n, gomp_team::task_count, and thr.
Here is the call graph for this function:
static bool gomp_team_barrier_waiting_for_tasks | ( | gomp_barrier_t * | bar | ) | [inline, static] |
void gomp_team_barrier_wake | ( | gomp_barrier_t * | , | |
int | ||||
) |
Definition at line 76 of file bar.c.
References bar, futex_wake(), gomp_sem_post(), and INT_MAX.
Here is the call graph for this function: