X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fsparc-sunos-os.c;h=73440fb13f37cfa5e6800c7f10bde4961a540249;hb=22c1de0a40df83bb5628974010a879cb2c17ff53;hp=469c5a04bde81618d28d16b77c46b26754f6e8cc;hpb=9f10bc102adce15a820027777a03e49a7b7623da;p=sbcl.git diff --git a/src/runtime/sparc-sunos-os.c b/src/runtime/sparc-sunos-os.c index 469c5a0..73440fb 100644 --- a/src/runtime/sparc-sunos-os.c +++ b/src/runtime/sparc-sunos-os.c @@ -36,6 +36,19 @@ #include "validate.h" +#ifdef LISP_FEATURE_SB_THREAD +#error "Define threading support functions" +#else +struct thread *arch_os_get_current_thread() { + return all_threads; +} +int arch_os_thread_init(struct thread *thread) { + return 1; /* success */ +} +int arch_os_thread_cleanup(struct thread *thread) { + return 1; /* success */ +} +#endif os_context_register_t * os_context_register_addr(os_context_t *context, int offset)