X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fthread.h;h=eb653c12d8e83b57e9bdf1705100939d6d66709b;hb=3fa2feb10ab827fc6cc2a85287e78b6e66b7bf4d;hp=dbca3db1573958f1d6f51168da6983fe31aa571d;hpb=9ee246f59019b776b38f6c09b2ce730cd0b32844;p=sbcl.git diff --git a/src/runtime/thread.h b/src/runtime/thread.h index dbca3db..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,10 +54,10 @@ 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); -extern void kill_a_lisp_thread(int signal); #define THREAD_SLOT_OFFSET_WORDS(c) \ (offsetof(struct thread,c)/(sizeof (struct thread *))) @@ -69,7 +69,6 @@ union per_thread_data { extern struct thread *all_threads; extern int dynamic_values_bytes; -extern pthread_key_t lisp_thread; #if defined(LISP_FEATURE_DARWIN) #define CONTROL_STACK_ALIGNMENT_BYTES 8192 /* darwin wants page-aligned stacks */