windows support
This commit is contained in:
parent
f1cd631aae
commit
b9004acd79
16 changed files with 208 additions and 32 deletions
22
include/MDE/Core/Thread.h
Normal file
22
include/MDE/Core/Thread.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef __MDE_CORE_THREAD_H__
|
||||
#define __MDE_CORE_THREAD_H__
|
||||
|
||||
#include <MDE/MachDep.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef void* MDEThread;
|
||||
|
||||
MDEThread MDEThreadCreate(void (*call)(void* user_data), void* user_data);
|
||||
|
||||
void MDEThreadDestroy(MDEThread thread);
|
||||
|
||||
void MDEThreadJoin(MDEThread thread);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue