[project @ 2003-10-01 10:57:39 by wolfgang]
authorwolfgang <unknown>
Wed, 1 Oct 2003 10:57:44 +0000 (10:57 +0000)
committerwolfgang <unknown>
Wed, 1 Oct 2003 10:57:44 +0000 (10:57 +0000)
commitd3581a6a5789da15ab56c11cd02bece49273b41d
treec2828bd71e312f09eff6bf3de2c4302fe6b3e65f
parent324e96d2ebfcb113cd97c43ef043d591ef87de71
[project @ 2003-10-01 10:57:39 by wolfgang]
New implementation & changed type signature of forkProcess

forkProcess now has the following type:
forkProcess :: IO () -> IO ProcessID

forkProcessAll has been removed as it is unimplementable in the threaded RTS.

forkProcess using the old type (IO (Maybe ProcessID)) was impossible to
implement correctly in the non-threaded RTS and very hard to implement
in the threaded RTS.
The new type signature allows a clean and simple implementation.
ghc/compiler/prelude/primops.txt.pp
ghc/includes/PrimOps.h
ghc/rts/Linker.c
ghc/rts/PrimOps.hc
ghc/rts/Schedule.c
ghc/rts/Schedule.h