feat: Symmetric Multiprocessing, text editor improvements, merge doom libc, implement math functions

This commit is contained in:
2026-03-23 20:09:11 +01:00
parent a805b06406
commit 63d9270613
46 changed files with 3004 additions and 2404 deletions
+2 -4
View File
@@ -26,7 +26,7 @@ namespace Montauk {
}
static void Sys_SleepMs(uint64_t ms) {
Timekeeping::Sleep(ms);
Sched::BlockForSleep(ms);
}
static int Sys_GetPid() {
@@ -34,9 +34,7 @@ namespace Montauk {
}
static void Sys_WaitPid(int pid) {
while (Sched::IsAlive(pid)) {
Sched::Schedule(); // yield until the process exits
}
Sched::BlockOnPid(pid);
}
static int Sys_Spawn(const char* path, const char* args) {