This commit is contained in:
2025-11-25 23:14:26 +01:00
parent 0c81973aa2
commit cbedadd36e
3 changed files with 24 additions and 0 deletions

8
os.h
View File

@@ -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