diff options
| author | Ada Christine <adachristine18@gmail.com> | 2026-05-20 23:04:06 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2026-05-20 23:04:06 +0000 |
| commit | edc42358664e9d70227e274273321ab032394a7e (patch) | |
| tree | 54fd2de509c9c3cae911cad04328308f28afb0cc /kc/core/arch_thread.h | |
| parent | 0e61096ab498c12ffd0fd2eb993deb31a0a50b09 (diff) | |
new thread code works fine
Diffstat (limited to 'kc/core/arch_thread.h')
| -rw-r--r-- | kc/core/arch_thread.h | 12 |
1 files changed, 12 insertions, 0 deletions
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); |
