ARGOBOTS  dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
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

static double convert_timespec_to_sec (const struct timespec *p_ts)
 
int ABT_cond_create (ABT_cond *newcond)
 Create a new condition variable. More...
 
int ABT_cond_free (ABT_cond *cond)
 Free a condition variable. More...
 
int ABT_cond_wait (ABT_cond cond, ABT_mutex mutex)
 Wait on a condition variable. More...
 
int ABT_cond_timedwait (ABT_cond cond, ABT_mutex mutex, const struct timespec *abstime)
 Wait on a condition variable with a timeout limit. 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

◆ convert_timespec_to_sec()

static double convert_timespec_to_sec ( const struct timespec *  p_ts)
inlinestatic

Definition at line 360 of file cond.c.

Referenced by ABT_cond_timedwait().