Implement Mutexes and supporting syscalls, cleanup/optimize scheduler
All checks were successful
Build documentation / build-and-deploy (push) Successful in 39s

This commit is contained in:
2026-01-10 00:12:42 +01:00
parent 6a474c21a0
commit 41a458b925
17 changed files with 276 additions and 73 deletions

View File

@@ -50,7 +50,7 @@ struct proc* proc_from_elf (uint8_t* elf_contents) {
struct proc_resource* ustk_r =
proc_create_resource (proc, ustk_rid, PR_MEM, RV_PRIVATE, (void*)&ustk_mem_init);
if (ustk_r == NULL) {
kstk_r->ops.cleanup (kstk_r);
kstk_r->ops.cleanup (proc, kstk_r);
free (kstk_r);
free (proc);
return NULL;