Environment variables WIP, fix waiting scheduling issues + CE cancel proc
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m24s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m24s
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user