config/linux/wait.h File Reference

#include "libgomp.h"
#include <errno.h>
#include <futex.h>

Include dependency graph for wait.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define GOMP_WAIT_H   1
#define FUTEX_WAIT   0
#define FUTEX_WAKE   1
#define FUTEX_PRIVATE_FLAG   128L

Functions

static void do_wait (int *addr, int val)

Variables

long int gomp_futex_wait
long int gomp_futex_wake


Define Documentation

#define FUTEX_PRIVATE_FLAG   128L

Definition at line 37 of file wait.h.

Referenced by futex_wait(), and futex_wake().

#define FUTEX_WAIT   0

Definition at line 35 of file wait.h.

#define FUTEX_WAKE   1

Definition at line 36 of file wait.h.

#define GOMP_WAIT_H   1

Definition at line 30 of file wait.h.


Function Documentation

static void do_wait ( int *  addr,
int  val 
) [inline, static]

Definition at line 47 of file wait.h.

References count, cpu_relax(), futex_wait(), gomp_available_cpus, gomp_managed_threads, gomp_spin_count_var, gomp_throttled_spin_count_var, and i.

Referenced by gomp_barrier_wait_end(), gomp_mutex_lock_slow(), gomp_ptrlock_get_slow(), gomp_sem_wait_slow(), and gomp_team_barrier_wait_end().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

long int gomp_futex_wait

Definition at line 32 of file mutex.c.

Referenced by futex_wait(), and futex_wake().

long int gomp_futex_wake

Definition at line 31 of file mutex.c.

Referenced by futex_wait(), and futex_wake().


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