wolfgang 2003/10/01 03:57:44 PDT
Modified files:
ghc/compiler/prelude primops.txt.pp
ghc/includes PrimOps.h
ghc/rts Linker.c PrimOps.hc Schedule.c Schedule.h
libraries/base/GHC Conc.lhs
libraries/unix/System/Posix Process.hsc
Log:
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.
Revision Changes Path
1.30 +1 -7 fptools/ghc/compiler/prelude/primops.txt.pp
1.106 +1 -2 fptools/ghc/includes/PrimOps.h
1.135 +2 -2 fptools/ghc/rts/Linker.c
1.114 +1 -15 fptools/ghc/rts/PrimOps.hc
1.177 +33 -79 fptools/ghc/rts/Schedule.c
1.41 +9 -1 fptools/ghc/rts/Schedule.h
1.20 +0 -24 fptools/libraries/base/GHC/Conc.lhs
1.14 +14 -32 fptools/libraries/unix/System/Posix/Process.hsc
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc