projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.36.11: Make slam.sh work on Win32.
[sbcl.git]
/
src
/
runtime
/
thread.h
diff --git
a/src/runtime/thread.h
b/src/runtime/thread.h
index
1872483
..
eb653c1
100644
(file)
--- a/
src/runtime/thread.h
+++ b/
src/runtime/thread.h
@@
-8,7
+8,6
@@
#include "globals.h"
#include "runtime.h"
#include "os.h"
#include "globals.h"
#include "runtime.h"
#include "os.h"
-#include "interrupt.h"
#ifdef LISP_FEATURE_GENCGC
#include "gencgc-alloc-region.h"
#else
#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 "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))
#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);
}
pthread_mutex_unlock(thread->state_lock);
}
+extern pthread_key_t lisp_thread;
#endif
extern int kill_safely(os_thread_t os_thread, int signal);
#endif
extern int kill_safely(os_thread_t os_thread, int signal);