config/linux/bar.h File Reference

#include "mutex.h"

Include dependency graph for bar.h:

Go to the source code of this file.

Data Structures

struct  gomp_barrier_t

Defines

#define GOMP_BARRIER_H   1

Typedefs

typedef unsigned int gomp_barrier_state_t

Functions

static void gomp_barrier_init (gomp_barrier_t *bar, unsigned count)
static void gomp_barrier_reinit (gomp_barrier_t *bar, unsigned count)
static void gomp_barrier_destroy (gomp_barrier_t *bar)
void gomp_barrier_wait (gomp_barrier_t *)
void gomp_barrier_wait_last (gomp_barrier_t *)
void gomp_barrier_wait_end (gomp_barrier_t *, gomp_barrier_state_t)
void gomp_team_barrier_wait (gomp_barrier_t *)
void gomp_team_barrier_wait_end (gomp_barrier_t *, gomp_barrier_state_t)
void gomp_team_barrier_wake (gomp_barrier_t *, int)
static gomp_barrier_state_t gomp_barrier_wait_start (gomp_barrier_t *bar)
static bool gomp_barrier_last_thread (gomp_barrier_state_t state)
static void gomp_team_barrier_set_task_pending (gomp_barrier_t *bar)
static void gomp_team_barrier_clear_task_pending (gomp_barrier_t *bar)
static void gomp_team_barrier_set_waiting_for_tasks (gomp_barrier_t *bar)
static bool gomp_team_barrier_waiting_for_tasks (gomp_barrier_t *bar)
static void gomp_team_barrier_done (gomp_barrier_t *bar, gomp_barrier_state_t state)


Define Documentation

#define GOMP_BARRIER_H   1

Definition at line 30 of file bar.h.


Typedef Documentation

typedef unsigned int gomp_barrier_state_t

Definition at line 42 of file bar.h.


Function Documentation

static void gomp_barrier_destroy ( gomp_barrier_t bar  )  [inline, static]

Definition at line 57 of file bar.h.

Referenced by free_team(), and gomp_free_thread().

Here is the caller graph for this function:

static void gomp_barrier_init ( gomp_barrier_t bar,
unsigned  count 
) [inline, static]

Definition at line 44 of file bar.h.

References bar.

Referenced by gomp_new_team(), and gomp_team_start().

Here is the caller graph for this function:

static bool gomp_barrier_last_thread ( gomp_barrier_state_t  state  )  [inline, static]

Definition at line 80 of file bar.h.

Referenced by gomp_barrier_handle_tasks(), and gomp_work_share_end().

Here is the caller graph for this function:

static void gomp_barrier_reinit ( gomp_barrier_t bar,
unsigned  count 
) [inline, static]

Definition at line 51 of file bar.h.

References bar.

Referenced by gomp_team_start().

Here is the caller graph for this function:

void gomp_barrier_wait ( gomp_barrier_t  ) 

Definition at line 55 of file bar.c.

void gomp_barrier_wait_end ( gomp_barrier_t ,
gomp_barrier_state_t   
)

Definition at line 34 of file bar.c.

void gomp_barrier_wait_last ( gomp_barrier_t  ) 

Definition at line 68 of file bar.c.

References bar, gomp_barrier_wait_end(), and gomp_barrier_wait_start().

Referenced by gomp_free_pool_helper(), and ompc_team_end().

Here is the call graph for this function:

Here is the caller graph for this function:

static gomp_barrier_state_t gomp_barrier_wait_start ( gomp_barrier_t bar  )  [inline, static]

Definition at line 70 of file bar.h.

References bar.

Referenced by gomp_barrier_wait(), gomp_barrier_wait_last(), gomp_team_barrier_wait(), and gomp_work_share_end().

Here is the caller graph for this function:

static void gomp_team_barrier_clear_task_pending ( gomp_barrier_t bar  )  [inline, static]

Definition at line 95 of file bar.h.

References bar.

Referenced by gomp_barrier_handle_tasks(), and GOMP_taskwait().

Here is the caller graph for this function:

static void gomp_team_barrier_done ( gomp_barrier_t bar,
gomp_barrier_state_t  state 
) [inline, static]

Definition at line 113 of file bar.h.

References bar.

Referenced by gomp_barrier_handle_tasks().

Here is the caller graph for this function:

static void gomp_team_barrier_set_task_pending ( gomp_barrier_t bar  )  [inline, static]

Definition at line 89 of file bar.h.

References bar.

Referenced by GOMP_task().

Here is the caller graph for this function:

static void gomp_team_barrier_set_waiting_for_tasks ( gomp_barrier_t bar  )  [inline, static]

Definition at line 101 of file bar.h.

References bar.

Referenced by gomp_barrier_handle_tasks().

Here is the caller graph for this function:

void gomp_team_barrier_wait ( gomp_barrier_t  ) 

Definition at line 119 of file bar.c.

void gomp_team_barrier_wait_end ( gomp_barrier_t ,
gomp_barrier_state_t   
)

Definition at line 82 of file bar.c.

static bool gomp_team_barrier_waiting_for_tasks ( gomp_barrier_t bar  )  [inline, static]

Definition at line 107 of file bar.h.

References bar.

Referenced by gomp_barrier_handle_tasks().

Here is the caller graph for this function:

void gomp_team_barrier_wake ( gomp_barrier_t ,
int   
)

Definition at line 76 of file bar.c.


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