Worked on runtime and threadpool

This commit is contained in:
2025-06-19 19:21:08 +01:00
commit 0be61851a4
7 changed files with 279 additions and 0 deletions

10
include/runtime.h Normal file
View File

@ -0,0 +1,10 @@
#pragma once
typedef void (*system_tick_t)(int type);
void runtime_init();
void runtime_loop();
void runtime_destroy();
int runtime_callback_single(system_tick_t callback, long delay);
int runtime_callback_many(system_tick_t callback, long period, long phase);