X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-bsd-os.c;h=8b62584e361607ca4a56f4ac44b6941b1547bf0f;hb=ed1910efb36f71b5ebe33b5ffffd7195e15644de;hp=1054659585fa22b465c0aff779836ad97775c081;hpb=ddff81699041badddbf6dc6f31b4c9eec8cb5f44;p=sbcl.git diff --git a/src/runtime/x86-bsd-os.c b/src/runtime/x86-bsd-os.c index 1054659..8b62584 100644 --- a/src/runtime/x86-bsd-os.c +++ b/src/runtime/x86-bsd-os.c @@ -1,4 +1,5 @@ #include +#include #include "sbcl.h" #include "runtime.h" #include "thread.h" @@ -185,6 +186,10 @@ int arch_os_thread_init(struct thread *thread) { #endif #endif +#ifdef LISP_FEATURE_SB_SAFEPOINT + thread->selfptr = thread; +#endif + #ifdef LISP_FEATURE_C_STACK_IS_CONTROL_STACK stack_t sigstack;