use arena everywhere + bunch of cool new stuff

This commit is contained in:
snarmph 2024-04-18 14:29:36 +01:00
parent 8fdecd89a5
commit ae59f269c2
51 changed files with 5443 additions and 7233 deletions

12
deprecated/jobpool.h Normal file
View file

@ -0,0 +1,12 @@
#pragma once
#include "collatypes.h"
#include "cthreads.h"
typedef void *jobpool_t;
jobpool_t poolInit(uint32 num);
void poolFree(jobpool_t pool);
bool poolAdd(jobpool_t pool, cthread_func_t func, void *arg);
void poolWait(jobpool_t pool);