forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
18
Kha/Kinc/Backends/System/POSIX/Sources/kinc/backend/event.h
Normal file
18
Kha/Kinc/Backends/System/POSIX/Sources/kinc/backend/event.h
Normal file
@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
pthread_cond_t event;
|
||||
pthread_mutex_t mutex;
|
||||
volatile bool set;
|
||||
bool auto_reset;
|
||||
} kinc_event_impl_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user