X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Farch.h;h=ade8d9235b1bd979ecc128344cbfd71d84a313ea;hb=69d60b456b07a0256f08df0d02484f361ce5737c;hp=7e745ab01ed86f95a78a2b64fff52551d5dcbba3;hpb=dfa55a883f94470267b626dae77ce7e7dfac3df6;p=sbcl.git diff --git a/src/runtime/arch.h b/src/runtime/arch.h index 7e745ab..ade8d92 100644 --- a/src/runtime/arch.h +++ b/src/runtime/arch.h @@ -14,6 +14,7 @@ #include "os.h" #include "signal.h" +#include "thread.h" /* Do anything we need to do when starting up the runtime environment * on this architecture. */ @@ -30,6 +31,10 @@ extern void arch_remove_breakpoint(void *pc, unsigned long orig_inst); extern void arch_install_interrupt_handlers(void); extern void arch_do_displaced_inst(os_context_t *context, unsigned int orig_inst); + +extern int arch_os_thread_init(struct thread *thread); +extern int arch_os_thread_cleanup(struct thread *thread); + extern lispobj funcall0(lispobj function); extern lispobj funcall1(lispobj function, lispobj arg0); extern lispobj funcall2(lispobj function, lispobj arg0, lispobj arg1);