config/posix/bar.c File Reference

#include "libgomp.h"

Include dependency graph for bar.c:

Go to the source code of this file.

Functions

void gomp_barrier_init (gomp_barrier_t *bar, unsigned count)
void gomp_barrier_destroy (gomp_barrier_t *bar)
void gomp_barrier_reinit (gomp_barrier_t *bar, unsigned count)
void gomp_barrier_wait_end (gomp_barrier_t *bar, gomp_barrier_state_t state)
void gomp_barrier_wait (gomp_barrier_t *barrier)
void gomp_team_barrier_wait_end (gomp_barrier_t *bar, gomp_barrier_state_t state)
void gomp_team_barrier_wait (gomp_barrier_t *barrier)
void gomp_team_barrier_wake (gomp_barrier_t *bar, int count)


Function Documentation

void gomp_barrier_destroy ( gomp_barrier_t bar  ) 

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 bar,
unsigned  count 
)

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:

void gomp_barrier_reinit ( gomp_barrier_t bar,
unsigned  count 
)

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 barrier  ) 

Definition at line 106 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 bar,
gomp_barrier_state_t  state 
)

Definition at line 71 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:

void gomp_team_barrier_wait ( gomp_barrier_t barrier  ) 

Definition at line 166 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 bar,
gomp_barrier_state_t  state 
)

Definition at line 112 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:

void gomp_team_barrier_wake ( gomp_barrier_t bar,
int  count 
)

Definition at line 172 of file bar.c.

References bar, futex_wake(), gomp_sem_post(), and INT_MAX.

Here is the call graph for this function:


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