update
This commit is contained in:
8
os.h
8
os.h
@@ -17,4 +17,12 @@ bool os_fileAppend(Arena *arena, string filename, const byte *contents, size_t c
|
||||
// ### Standard IO ###
|
||||
void os_print(StdStream target, const char *fmt, va_list argList);
|
||||
|
||||
// ### Multithreading ###
|
||||
typedef struct OS_Thread OS_Thread;
|
||||
struct OS_Thread {
|
||||
uint64 id;
|
||||
};
|
||||
|
||||
OS_Thread os_createThread(void *(*entry)(void *ctx), void *ctx);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user