libsir 2.2.5
Standard Incident Reporter
Loading...
Searching...
No Matches
condition.h
Go to the documentation of this file.
1
32#ifndef _SIR_CONDITION_H_INCLUDED
33# define _SIR_CONDITION_H_INCLUDED
34
35# include "sir/types.h"
36
43bool _sir_condcreate(sir_condition* cond);
44
45# if 0
52bool _sir_condsignal(sir_condition* cond);
53# endif
54
61bool _sir_condbroadcast(sir_condition* cond);
62
69bool _sir_conddestroy(sir_condition* cond);
70
71# if 0
78bool _sir_condwait(sir_condition* cond, sir_mutex* mutex);
79# endif
80
90bool _sir_condwait_timeout(sir_condition* cond, sir_mutex* mutex, const sir_wait* howlong);
91
92#endif /* !_SIR_CONDITION_H_INCLUDED */
bool _sir_conddestroy(sir_condition *cond)
Destroys a condition variable.
Definition sircondition.c:83
bool _sir_condwait_timeout(sir_condition *cond, sir_mutex *mutex, const sir_wait *howlong)
Waits a given amount of time for a condition variable to become signaled.
Definition sircondition.c:116
bool _sir_condbroadcast(sir_condition *cond)
Broadcast signals a condition variable.
Definition sircondition.c:68
bool _sir_condcreate(sir_condition *cond)
Creates/initializes a new condition variable.
Definition sircondition.c:36