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 *)))
return ((struct fdefn *)native_pointer(SymbolValue(sym, 0)))->fun;
}
-static inline
-os_context_t *get_interrupt_context_for_thread(struct thread *th)
-{
- return th->interrupt_contexts
- [fixnum_value(SymbolValue(FREE_INTERRUPT_CONTEXT_INDEX,th)-1)];
-}
-
#if defined(LISP_FEATURE_SB_THREAD) && defined(LISP_FEATURE_GCC_TLS)
extern __thread struct thread *current_thread;
#endif
#endif
extern void create_initial_thread(lispobj);
-extern int kill_thread_safely(os_thread_t os_thread, int signo);
#endif /* _INCLUDE_THREAD_H_ */