fix return value to cnd_init

This commit is contained in:
bumbread 2023-02-23 08:15:47 +11:00
parent 15d3ee525a
commit 08c8efe47b
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ void call_once(once_flag *flag, void (*func)(void)) {
int cnd_init(cnd_t *cond) {
InitializeConditionVariable((void *)cond);
return thrd_success;
}
int cnd_broadcast(cnd_t *cond) {