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