Re: fork and ghc

2006-08-09 Thread Simon Marlow
) off processes down each pass that can be done in parallel. however, I have no idea what the effect of just calling fork on the ghc runtime will be. both parent and child will continue on compiling code, so it won't be immediatly followed by an exec. We provide System.Posix.forkProcess, which

Re: fork and ghc

2006-08-09 Thread John Meacham
On Wed, Aug 09, 2006 at 10:15:45AM +0100, Simon Marlow wrote: We provide System.Posix.forkProcess, which is a controlled version of fork. It probably works ok in the single-threaded runtime, but I'd say it's probably slightly dubious in the threaded runtime especially if you're planning on

Re: fork and ghc

2006-08-09 Thread skaller
On Wed, 2006-08-09 at 16:26 -0700, John Meacham wrote: on another topic, I ran across this old paper online which gives an exceedingly clever method of implementing a functional language compiler doing real garbage collection and efficient tail calls in portable C

fork and ghc

2006-08-08 Thread John Meacham
each pass that can be done in parallel. however, I have no idea what the effect of just calling fork on the ghc runtime will be. both parent and child will continue on compiling code, so it won't be immediatly followed by an exec. John -- John Meacham - ⑆repetae.net⑆john