projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.31.22: improved SAP-{REF,SET}-* for x86-64
[sbcl.git]
/
src
/
runtime
/
alpha-arch.h
diff --git
a/src/runtime/alpha-arch.h
b/src/runtime/alpha-arch.h
index
16aac2b
..
c3d82f7
100644
(file)
--- a/
src/runtime/alpha-arch.h
+++ b/
src/runtime/alpha-arch.h
@@
-1,6
+1,19
@@
#ifndef _ALPHA_ARCH_H
#define _ALPHA_ARCH_H
#ifndef _ALPHA_ARCH_H
#define _ALPHA_ARCH_H
+
+static inline void
+get_spinlock(lispobj *word,long value)
+{
+ *word=value; /* FIXME for threads */
+}
+
+static inline void
+release_spinlock(lispobj *word)
+{
+ *word=0;
+}
+
#define ARCH_HAS_FLOAT_REGISTERS
#endif /* _ALPHA_ARCH_H */
#define ARCH_HAS_FLOAT_REGISTERS
#endif /* _ALPHA_ARCH_H */