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:
f9ed85f
)
[project @ 1997-10-06 17:28:03 by sof]
author
sof
<unknown>
Mon, 6 Oct 1997 17:28:03 +0000
(17:28 +0000)
committer
sof
<unknown>
Mon, 6 Oct 1997 17:28:03 +0000
(17:28 +0000)
forkST cleanup
ghc/lib/ghc/ConcBase.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/ghc/ConcBase.lhs
b/ghc/lib/ghc/ConcBase.lhs
index
20d0346
..
2efd689
100644
(file)
--- a/
ghc/lib/ghc/ConcBase.lhs
+++ b/
ghc/lib/ghc/ConcBase.lhs
@@
-48,9
+48,7
@@
forkST (ST action) = ST $ \ s ->
let
(r, new_s) = action s
in
- new_s `fork__` (r, s)
- where
- fork__ x y = case (fork# x) of { 0# -> parError; _ -> y }
+ new_s `fork` (r, s)
forkPrimIO :: PrimIO a -> PrimIO a
forkPrimIO = forkST