ARGOBOTS  ba497793e96f0026edda18743b158278a6a1f4ab
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Structures | Macros | Functions
abti_ythread_htable.h File Reference
#include "abt_config.h"
Include dependency graph for abti_ythread_htable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ABTI_ythread_queue
 
struct  ABTI_ythread_htable
 

Macros

#define USE_PTHREAD_MUTEX
 
#define ABTI_THREAD_HTABLE_LOCK(m)   pthread_mutex_lock(&m)
 
#define ABTI_THREAD_HTABLE_UNLOCK(m)   pthread_mutex_unlock(&m)
 

Functions

static void ABTI_ythread_queue_acquire_mutex (ABTI_ythread_queue *p_queue)
 
static void ABTI_ythread_queue_release_mutex (ABTI_ythread_queue *p_queue)
 
static void ABTI_ythread_queue_acquire_low_mutex (ABTI_ythread_queue *p_queue)
 
static void ABTI_ythread_queue_release_low_mutex (ABTI_ythread_queue *p_queue)
 
static void ABTI_ythread_htable_add_h_node (ABTI_ythread_htable *p_htable, ABTI_ythread_queue *p_node)
 
static void ABTI_ythread_htable_del_h_head (ABTI_ythread_htable *p_htable)
 
static void ABTI_ythread_htable_add_l_node (ABTI_ythread_htable *p_htable, ABTI_ythread_queue *p_node)
 
static void ABTI_ythread_htable_del_l_head (ABTI_ythread_htable *p_htable)
 

Macro Definition Documentation

#define ABTI_THREAD_HTABLE_LOCK (   m)    pthread_mutex_lock(&m)

Definition at line 70 of file abti_ythread_htable.h.

Referenced by ABTI_mutex_wait(), ABTI_mutex_wait_low(), and ABTI_mutex_wake_de().

#define ABTI_THREAD_HTABLE_UNLOCK (   m)    pthread_mutex_unlock(&m)

Definition at line 71 of file abti_ythread_htable.h.

Referenced by ABTI_mutex_wait(), ABTI_mutex_wait_low(), and ABTI_mutex_wake_de().

#define USE_PTHREAD_MUTEX

Definition at line 16 of file abti_ythread_htable.h.

Function Documentation

static void ABTI_ythread_htable_add_h_node ( ABTI_ythread_htable p_htable,
ABTI_ythread_queue p_node 
)
inlinestatic

Definition at line 105 of file abti_ythread_htable.h.

Referenced by ABTI_mutex_wait().

static void ABTI_ythread_htable_add_l_node ( ABTI_ythread_htable p_htable,
ABTI_ythread_queue p_node 
)
inlinestatic

Definition at line 141 of file abti_ythread_htable.h.

Referenced by ABTI_mutex_wait_low().

static void ABTI_ythread_htable_del_h_head ( ABTI_ythread_htable p_htable)
inlinestatic

Definition at line 121 of file abti_ythread_htable.h.

Referenced by ABTI_mutex_wake_de().

static void ABTI_ythread_htable_del_l_head ( ABTI_ythread_htable p_htable)
inlinestatic

Definition at line 157 of file abti_ythread_htable.h.

Referenced by ABTI_mutex_wake_de().

static void ABTI_ythread_queue_acquire_low_mutex ( ABTI_ythread_queue p_queue)
inlinestatic
static void ABTI_ythread_queue_acquire_mutex ( ABTI_ythread_queue p_queue)
inlinestatic

Definition at line 77 of file abti_ythread_htable.h.

Referenced by ABTI_ythread_htable_pop(), and ABTI_ythread_htable_push().

static void ABTI_ythread_queue_release_low_mutex ( ABTI_ythread_queue p_queue)
inlinestatic
static void ABTI_ythread_queue_release_mutex ( ABTI_ythread_queue p_queue)
inlinestatic

Definition at line 85 of file abti_ythread_htable.h.

Referenced by ABTI_ythread_htable_pop(), and ABTI_ythread_htable_push().