mirror of https://github.com/flysand7/ciabatta.git
fix return value to cnd_init
This commit is contained in:
parent
15d3ee525a
commit
08c8efe47b
|
@ -204,6 +204,7 @@ void call_once(once_flag *flag, void (*func)(void)) {
|
||||||
|
|
||||||
int cnd_init(cnd_t *cond) {
|
int cnd_init(cnd_t *cond) {
|
||||||
InitializeConditionVariable((void *)cond);
|
InitializeConditionVariable((void *)cond);
|
||||||
|
return thrd_success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cnd_broadcast(cnd_t *cond) {
|
int cnd_broadcast(cnd_t *cond) {
|
||||||
|
|
Loading…
Reference in New Issue