projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sb-bsd-sockets: foreign memory leak in GET-PROTOCOL-BY-NAME
[sbcl.git]
/
src
/
runtime
/
sparc-arch.h
diff --git
a/src/runtime/sparc-arch.h
b/src/runtime/sparc-arch.h
index
b75247d
..
6a7b52e
100644
(file)
--- a/
src/runtime/sparc-arch.h
+++ b/
src/runtime/sparc-arch.h
@@
-1,6
+1,18
@@
#ifndef _SPARC_ARCH_H
#define _SPARC_ARCH_H
#ifndef _SPARC_ARCH_H
#define _SPARC_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_NPC_REGISTER
#endif /* _SPARC_ARCH_H */
#define ARCH_HAS_NPC_REGISTER
#endif /* _SPARC_ARCH_H */