From edc42358664e9d70227e274273321ab032394a7e Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Wed, 20 May 2026 23:04:06 +0000 Subject: new thread code works fine --- kc/core/arch_thread.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 kc/core/arch_thread.h (limited to 'kc/core/arch_thread.h') diff --git a/kc/core/arch_thread.h b/kc/core/arch_thread.h new file mode 100644 index 0000000..2b8d0fb --- /dev/null +++ b/kc/core/arch_thread.h @@ -0,0 +1,12 @@ +#pragma once + +void * arch_idle_loop(void *); + +void arch_create_thread( + struct kc_thread *thread, + void *(kc_thread_func)(void *), + void *params); + +void arch_swap_thread( + struct kc_thread *outgoing, + struct kc_thread *incoming); -- cgit v1.3.1-1-g115d