Added a function to wait on any process completing

Added function to check if all processes are finished without blocking
Added a function to set a uniproc_process object to a known invalid value
Added a function to check if a process is a known invalid value
Added userdata variable to struct as well as functions to set/get it

AMEND: Updated uniproc_close_process to set the process to a known invalid value
All functions now ignore uniproc_process's with a known invalid value
uniproc_create_process will now return a known invalid value if it fails to create a process
This commit is contained in:
2025-03-06 15:29:37 +11:00
parent f4927bf136
commit 682773a934
4 changed files with 170 additions and 19 deletions

1
.gitignore vendored
View File

@@ -11,3 +11,4 @@
/test.ilk
/test.pdb
/src/main.c
*.o