projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.5.21:
[sbcl.git]
/
src
/
runtime
/
thread.h
diff --git
a/src/runtime/thread.h
b/src/runtime/thread.h
index
d124437
..
8f0436f
100644
(file)
--- a/
src/runtime/thread.h
+++ b/
src/runtime/thread.h
@@
-144,6
+144,11
@@
static inline struct thread *arch_os_get_current_thread() {
#endif
}
#endif
}
+#if defined(LISP_FEATURE_MACH_EXCEPTION_HANDLER)
+#define THREAD_STRUCT_TO_EXCEPTION_PORT(th) ((mach_port_t) th)
+#define EXCEPTION_PORT_TO_THREAD_STRUCT(th) ((struct thread *) th)
+#endif
+
#if defined(LISP_FEATURE_SB_THREAD)
#define thread_self pthread_self
#define thread_kill pthread_kill
#if defined(LISP_FEATURE_SB_THREAD)
#define thread_self pthread_self
#define thread_kill pthread_kill