config/linux/sem.h File Reference

Go to the source code of this file.

Defines

#define GOMP_SEM_H   1

Typedefs

typedef int gomp_sem_t

Functions

static void gomp_sem_init (gomp_sem_t *sem, int value)
void gomp_sem_wait_slow (gomp_sem_t *)
static void gomp_sem_wait (gomp_sem_t *sem)
void gomp_sem_post_slow (gomp_sem_t *)
static void gomp_sem_post (gomp_sem_t *sem)
static void gomp_sem_destroy (gomp_sem_t *sem)


Define Documentation

#define GOMP_SEM_H   1

Definition at line 30 of file sem.h.


Typedef Documentation

typedef int gomp_sem_t

Definition at line 32 of file sem.h.


Function Documentation

static void gomp_sem_destroy ( gomp_sem_t sem  )  [inline, static]

Definition at line 53 of file sem.h.

Referenced by gomp_barrier_destroy(), gomp_finish_task(), gomp_free_pool_helper(), gomp_team_end(), and ompc_team_end().

Here is the caller graph for this function:

static void gomp_sem_init ( gomp_sem_t sem,
int  value 
) [inline, static]

Definition at line 34 of file sem.h.

Referenced by __attribute__(), gomp_barrier_init(), gomp_init_task(), gomp_new_team(), and ompc_team_end().

Here is the caller graph for this function:

static void gomp_sem_post ( gomp_sem_t sem  )  [inline, static]

Definition at line 47 of file sem.h.

References gomp_sem_post_slow().

Referenced by gomp_barrier_handle_tasks(), gomp_barrier_wait_end(), gomp_ordered_first(), gomp_ordered_last(), gomp_ordered_next(), gomp_ordered_static_init(), gomp_ordered_static_next(), gomp_team_barrier_wait_end(), and gomp_team_barrier_wake().

Here is the call graph for this function:

Here is the caller graph for this function:

void gomp_sem_post_slow ( gomp_sem_t  ) 

Definition at line 48 of file sem.c.

References futex_wake().

Referenced by gomp_sem_post().

Here is the call graph for this function:

Here is the caller graph for this function:

static void gomp_sem_wait ( gomp_sem_t sem  )  [inline, static]

Definition at line 40 of file sem.h.

References gomp_sem_wait_slow().

Referenced by gomp_barrier_wait_end(), gomp_ordered_sync(), GOMP_taskwait(), and gomp_team_barrier_wait_end().

Here is the call graph for this function:

Here is the caller graph for this function:

void gomp_sem_wait_slow ( gomp_sem_t  ) 

Definition at line 33 of file sem.c.

References do_wait().

Referenced by gomp_sem_wait().

Here is the call graph for this function:

Here is the caller graph for this function:


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