ARGOBOTS  23067fa015f4b179569e2d52278c1072e674eb1e
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions
thread_htable.c File Reference
#include "abti.h"
#include "abti_thread_htable.h"
Include dependency graph for thread_htable.c:

Go to the source code of this file.

Functions

ABTI_thread_htableABTI_thread_htable_create (uint32_t num_rows)
 
void ABTI_thread_htable_free (ABTI_thread_htable *p_htable)
 
void ABTI_thread_htable_push (ABTI_thread_htable *p_htable, int idx, ABTI_thread *p_thread)
 
ABT_bool ABTI_thread_htable_add (ABTI_thread_htable *p_htable, int idx, ABTI_thread *p_thread)
 
void ABTI_thread_htable_push_low (ABTI_thread_htable *p_htable, int idx, ABTI_thread *p_thread)
 
ABT_bool ABTI_thread_htable_add_low (ABTI_thread_htable *p_htable, int idx, ABTI_thread *p_thread)
 
ABTI_threadABTI_thread_htable_pop (ABTI_thread_htable *p_htable, ABTI_thread_queue *p_queue)
 
ABTI_threadABTI_thread_htable_pop_low (ABTI_thread_htable *p_htable, ABTI_thread_queue *p_queue)
 
ABT_bool ABTI_thread_htable_switch_low (ABTI_xstream **pp_local_xstream, ABTI_thread_queue *p_queue, ABTI_thread *p_thread, ABTI_thread_htable *p_htable, ABT_sync_event_type sync_event_type, void *p_sync)
 

Function Documentation

ABT_bool ABTI_thread_htable_add ( ABTI_thread_htable p_htable,
int  idx,
ABTI_thread p_thread 
)

Definition at line 94 of file thread_htable.c.

ABT_bool ABTI_thread_htable_add_low ( ABTI_thread_htable p_htable,
int  idx,
ABTI_thread p_thread 
)

Definition at line 158 of file thread_htable.c.

ABTI_thread_htable* ABTI_thread_htable_create ( uint32_t  num_rows)

Definition at line 9 of file thread_htable.c.

Referenced by ABTI_mutex_init().

void ABTI_thread_htable_free ( ABTI_thread_htable p_htable)

Definition at line 37 of file thread_htable.c.

Referenced by ABTI_mutex_fini().

ABTI_thread* ABTI_thread_htable_pop ( ABTI_thread_htable p_htable,
ABTI_thread_queue p_queue 
)

Definition at line 183 of file thread_htable.c.

Referenced by ABTI_mutex_unlock_se(), and ABTI_mutex_wake_de().

ABTI_thread* ABTI_thread_htable_pop_low ( ABTI_thread_htable p_htable,
ABTI_thread_queue p_queue 
)

Definition at line 206 of file thread_htable.c.

Referenced by ABTI_mutex_unlock_se(), and ABTI_mutex_wake_de().

void ABTI_thread_htable_push ( ABTI_thread_htable p_htable,
int  idx,
ABTI_thread p_thread 
)

Definition at line 55 of file thread_htable.c.

Referenced by ABTI_mutex_wait().

void ABTI_thread_htable_push_low ( ABTI_thread_htable p_htable,
int  idx,
ABTI_thread p_thread 
)

Definition at line 119 of file thread_htable.c.

Referenced by ABTI_mutex_wait_low().

ABT_bool ABTI_thread_htable_switch_low ( ABTI_xstream **  pp_local_xstream,
ABTI_thread_queue p_queue,
ABTI_thread p_thread,
ABTI_thread_htable p_htable,
ABT_sync_event_type  sync_event_type,
void *  p_sync 
)

Definition at line 229 of file thread_htable.c.

Referenced by ABTI_mutex_lock_low().