Implement enough process handling logic to make psyq4.0 happy (#46)

* Implement enough process handling logic to make psyq4.0 happy

* revert gitignore

* data type update

* PR review

* DEBUG_LOG mistake

---------

Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
This commit is contained in:
ConorB
2023-09-18 07:05:47 +01:00
committed by GitHub
parent ceb13b34de
commit 218b4d7d76
8 changed files with 167 additions and 23 deletions

12
processes.h Normal file
View File

@@ -0,0 +1,12 @@
#include <cstdint>
#include <sched.h>
namespace processes {
struct Process {
pid_t pid;
uint32_t exitCode;
};
void *allocProcessHandle(pid_t pid);
Process* processFromHandle(void* hHandle, bool pop);
}