gwenhywfar 5.12.0
condvar.h
Go to the documentation of this file.
1/****************************************************************************
2 * This file is part of the project Gwenhywfar.
3 * Gwenhywfar (c) by 2023 Martin Preuss, all rights reserved.
4 *
5 * The license for this file can be found in the file COPYING which you
6 * should have received along with this file.
7 ****************************************************************************/
8
9#ifndef GWEN_COND_VAR_H
10#define GWEN_COND_VAR_H
11
12#include <gwenhywfar/mutex.h>
13
14
15#define GWEN_COND_VAR_FLAGS_MULTITHREADS 0x0001
16
17
19
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25
28
31
32
33
34#ifdef __cplusplus
35}
36#endif
37
38
39
40#endif
41
struct GWEN_COND_VAR GWEN_COND_VAR
Definition: condvar.h:18
GWENHYWFAR_API void GWEN_ConditionalVar_free(GWEN_COND_VAR *cv)
GWENHYWFAR_API void GWEN_ConditionalVar_Wait(GWEN_COND_VAR *cv, GWEN_MUTEX *mtx)
GWENHYWFAR_API GWEN_COND_VAR * GWEN_ConditionalVar_new(uint32_t flags)
GWENHYWFAR_API void GWEN_ConditionalVar_Signal(GWEN_COND_VAR *cv)
#define GWENHYWFAR_API
Definition: gwenhywfarapi.h:67
struct GWEN_MUTEX GWEN_MUTEX
Definition: mutex.h:37