forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
17
Kha/Kinc/Backends/System/POSIX/Sources/kinc/backend/thread.h
Normal file
17
Kha/Kinc/Backends/System/POSIX/Sources/kinc/backend/thread.h
Normal file
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
void *param;
|
||||
void (*thread)(void *param);
|
||||
pthread_t pthread;
|
||||
} kinc_thread_impl_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user