X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fthread.h;h=eb653c12d8e83b57e9bdf1705100939d6d66709b;hb=743831e679b673a5680a0afd8402911516bf50e2;hp=187248327617e3e12e0847143d3e1901d04ff73d;hpb=7a0ba26f6a662f592b168353c135204f65fda2d2;p=sbcl.git diff --git a/src/runtime/thread.h b/src/runtime/thread.h index 1872483..eb653c1 100644 --- a/src/runtime/thread.h +++ b/src/runtime/thread.h @@ -8,7 +8,6 @@ #include "globals.h" #include "runtime.h" #include "os.h" -#include "interrupt.h" #ifdef LISP_FEATURE_GENCGC #include "gencgc-alloc-region.h" #else @@ -18,6 +17,7 @@ struct alloc_region { }; #include "genesis/static-symbols.h" #include "genesis/thread.h" #include "genesis/fdefn.h" +#include "interrupt.h" #define STATE_RUNNING (make_fixnum(1)) #define STATE_SUSPENDED (make_fixnum(2)) @@ -54,6 +54,7 @@ wait_for_thread_state_change(struct thread *thread, lispobj state) pthread_mutex_unlock(thread->state_lock); } +extern pthread_key_t lisp_thread; #endif extern int kill_safely(os_thread_t os_thread, int signal);