18 #ifndef _XENOMAI_ALCHEMY_COND_H 19 #define _XENOMAI_ALCHEMY_COND_H 22 #include <alchemy/timer.h> 23 #include <alchemy/mutex.h> 34 typedef struct RT_COND RT_COND;
47 char name[XNOBJECT_NAME_LEN];
67 const struct timespec *abs_timeout);
73 alchemy_abs_timeout(timeout, &ts));
81 alchemy_rel_timeout(timeout, &ts));
88 const char *name, RTIME timeout);
int rt_cond_create(RT_COND *cond, const char *name)
Create a condition variable.
Definition: cond.c:113
int rt_cond_inquire(RT_COND *cond, RT_COND_INFO *info)
Query condition variable status.
Definition: cond.c:409
static int rt_cond_wait(RT_COND *cond, RT_MUTEX *mutex, RTIME timeout)
Wait on a condition variable (with relative scalar timeout).
Definition: cond.h:77
static int rt_cond_wait_until(RT_COND *cond, RT_MUTEX *mutex, RTIME timeout)
Wait on a condition variable (with absolute scalar timeout).
Definition: cond.h:69
int rt_cond_signal(RT_COND *cond)
Signal a condition variable.
Definition: cond.c:242
Condition variable status descriptor.
Definition: cond.h:43
int rt_cond_delete(RT_COND *cond)
Delete a condition variable.
Definition: cond.c:196
int rt_cond_wait_timed(RT_COND *cond, RT_MUTEX *mutex, const struct timespec *abs_timeout)
Wait on a condition variable.
Definition: cond.c:362
char name[XNOBJECT_NAME_LEN]
Name of condition variable.
Definition: cond.h:47
int rt_cond_broadcast(RT_COND *cond)
Broadcast a condition variable.
Definition: cond.c:270
int rt_cond_bind(RT_COND *cond, const char *name, RTIME timeout)
Bind to a condition variable.
Definition: cond.c:467
int rt_cond_unbind(RT_COND *cond)
Unbind from a condition variable.
Definition: cond.c:489