ARGOBOTS
Functions
cond.c File Reference
#include "abti.h"
#include <sys/time.h>
Include dependency graph for cond.c:

Go to the source code of this file.

Functions

int ABT_cond_create (ABT_cond *newcond)
 Create a new condition variable. More...
 
int ABT_cond_free (ABT_cond *cond)
 Free the condition variable. More...
 
int ABT_cond_wait (ABT_cond cond, ABT_mutex mutex)
 Wait on the condition. More...
 
static double convert_timespec_to_sec (const struct timespec *p_ts)
 
static void remove_unit (ABTI_cond *p_cond, ABTI_unit *p_unit)
 
int ABT_cond_timedwait (ABT_cond cond, ABT_mutex mutex, const struct timespec *abstime)
 Wait on the condition. More...
 
int ABT_cond_signal (ABT_cond cond)
 Signal a condition. More...
 
int ABT_cond_broadcast (ABT_cond cond)
 Broadcast a condition. More...
 

Function Documentation

static double convert_timespec_to_sec ( const struct timespec *  p_ts)
inlinestatic

Definition at line 113 of file cond.c.

Referenced by ABT_cond_timedwait().

static void remove_unit ( ABTI_cond *  p_cond,
ABTI_unit *  p_unit 
)
inlinestatic

Definition at line 120 of file cond.c.

Referenced by ABT_cond_timedwait().