projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5cd234
)
[project @ 2005-11-18 15:38:26 by simonmar]
author
simonmar
<unknown>
Fri, 18 Nov 2005 15:38:26 +0000
(15:38 +0000)
committer
simonmar
<unknown>
Fri, 18 Nov 2005 15:38:26 +0000
(15:38 +0000)
fix threaded build
ghc/rts/Sparks.h
patch
|
blob
|
history
diff --git
a/ghc/rts/Sparks.h
b/ghc/rts/Sparks.h
index
1cc92eb
..
089b3f4
100644
(file)
--- a/
ghc/rts/Sparks.h
+++ b/
ghc/rts/Sparks.h
@@
-90,6
+90,12
@@
discardSparksCap (Capability *cap)
{ return discardSparks(&cap->r.rSparks); }
+#elif defined(THREADED_RTS)
+
+INLINE_HEADER rtsBool
+emptySparkPoolCap (Capability *cap STG_UNUSED)
+{ return rtsTrue; }
+
#endif
#endif /* SPARKS_H */