ARGOBOTS  1.1
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 330 of file cond.c.

Referenced by ABT_cond_timedwait().