From: sof Date: Mon, 6 Oct 1997 17:28:03 +0000 (+0000) Subject: [project @ 1997-10-06 17:28:03 by sof] X-Git-Tag: Approx_2487_patches~1418 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8cc74c8eac2acdf6c3c1170e2211bf19740ef796;p=ghc-hetmet.git [project @ 1997-10-06 17:28:03 by sof] forkST cleanup --- diff --git a/ghc/lib/ghc/ConcBase.lhs b/ghc/lib/ghc/ConcBase.lhs index 20d0346..2efd689 100644 --- 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