Environment variables WIP, fix waiting scheduling issues + CE cancel proc
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m24s

This commit is contained in:
2026-03-17 00:01:15 +01:00
parent 1b1e1e4954
commit b1648a146a
11 changed files with 91 additions and 54 deletions

View File

@@ -1,3 +1,4 @@
#include <debugconsole.h>
#include <malloc.h>
#include <map.h>
#include <page_size.h>
@@ -21,6 +22,7 @@ struct process_data* process_spawn (process_func_t func, void* argument_ptr) {
return NULL;
}
pdata->stack = stack;
pdata->arg_ptr = argument_ptr;
pdata->fn = func;
@@ -36,3 +38,8 @@ struct process_data* process_spawn (process_func_t func, void* argument_ptr) {
pdata->pid = pid;
return pdata;
}
void process_data_free (struct process_data* pdata) {
free (pdata->stack);
free (pdata);
}