ARGOBOTS  1227c643f7a7f974f1f1778a9ffebd29d7dafecf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions
ythread_htable.c File Reference
#include "abti.h"
#include "abti_ythread_htable.h"
Include dependency graph for ythread_htable.c:

Go to the source code of this file.

Functions

ABTU_ret_err int ABTI_ythread_htable_create (uint32_t num_rows, ABTI_ythread_htable **pp_htable)
 
void ABTI_ythread_htable_free (ABTI_ythread_htable *p_htable)
 
void ABTI_ythread_htable_push (ABTI_ythread_htable *p_htable, int idx, ABTI_ythread *p_ythread)
 
void ABTI_ythread_htable_push_low (ABTI_ythread_htable *p_htable, int idx, ABTI_ythread *p_ythread)
 
ABTI_ythreadABTI_ythread_htable_pop (ABTI_ythread_htable *p_htable, ABTI_ythread_queue *p_queue)
 
ABTI_ythreadABTI_ythread_htable_pop_low (ABTI_ythread_htable *p_htable, ABTI_ythread_queue *p_queue)
 
ABT_bool ABTI_ythread_htable_switch_low (ABTI_xstream **pp_local_xstream, ABTI_ythread_queue *p_queue, ABTI_ythread *p_ythread, ABTI_ythread_htable *p_htable, ABT_sync_event_type sync_event_type, void *p_sync)
 

Function Documentation

ABTU_ret_err int ABTI_ythread_htable_create ( uint32_t  num_rows,
ABTI_ythread_htable **  pp_htable 
)

Definition at line 9 of file ythread_htable.c.

Referenced by ABTI_mutex_init().

void ABTI_ythread_htable_free ( ABTI_ythread_htable p_htable)

Definition at line 50 of file ythread_htable.c.

Referenced by ABTI_mutex_fini().

ABTI_ythread* ABTI_ythread_htable_pop ( ABTI_ythread_htable p_htable,
ABTI_ythread_queue p_queue 
)

Definition at line 118 of file ythread_htable.c.

Referenced by ABTI_mutex_wake_de(), and mutex_unlock_se().

ABTI_ythread* ABTI_ythread_htable_pop_low ( ABTI_ythread_htable p_htable,
ABTI_ythread_queue p_queue 
)

Definition at line 141 of file ythread_htable.c.

Referenced by ABTI_mutex_wake_de(), and mutex_unlock_se().

void ABTI_ythread_htable_push ( ABTI_ythread_htable p_htable,
int  idx,
ABTI_ythread p_ythread 
)

Definition at line 68 of file ythread_htable.c.

Referenced by ABTI_mutex_wait().

void ABTI_ythread_htable_push_low ( ABTI_ythread_htable p_htable,
int  idx,
ABTI_ythread p_ythread 
)

Definition at line 93 of file ythread_htable.c.

Referenced by ABTI_mutex_wait_low().

ABT_bool ABTI_ythread_htable_switch_low ( ABTI_xstream **  pp_local_xstream,
ABTI_ythread_queue p_queue,
ABTI_ythread p_ythread,
ABTI_ythread_htable p_htable,
ABT_sync_event_type  sync_event_type,
void *  p_sync 
)

Definition at line 165 of file ythread_htable.c.

Referenced by mutex_lock_low().