Move status codes into a separate header
All checks were successful
Build documentation / build-and-deploy (push) Successful in 36s

This commit is contained in:
2026-01-16 19:07:32 +01:00
parent a054257336
commit 11a1eb52aa
6 changed files with 38 additions and 38 deletions

View File

@@ -22,7 +22,7 @@ int make_thread (void (*fn) (void)) {
size_t stack_size = 256 * PAGE_SIZE;
void* stack = malloc (stack_size);
if (stack == NULL)
return -SR_OOM_ERROR;
return -ST_OOM_ERROR;
uintptr_t stack_top = (uintptr_t)stack + stack_size;
return proc_spawn_thread (stack_top, stack_size, (void*)fn);