Re: POpen, opening lots of processes

2004-01-08 Thread Glynn Clements
Hal Daume III wrote: > > What does the output from "ps" indicate? > > It lists all the processes as defunct: > > 19981 pts/5Z 0:00 [suffixtree ] > 19982 pts/5Z 0:00 [suffixtree ] > 19983 pts/5Z 0:00 [suffixtree ] > 19984 pts/5Z 0:00 [suffixtree ] > 19985 pts/

Re: POpen, opening lots of processes

2004-01-08 Thread Ferenc Wagner
Hal Daume III <[EMAIL PROTECTED]> writes: > On Thu, 8 Jan 2004, Glynn Clements wrote: > >> What does the output from "ps" indicate? > > It lists all the processes as defunct: > > 19981 pts/5Z 0:00 [suffixtree ] > 19982 pts/5Z 0:00 [suffixtree ] > 19983 pts/5Z 0:00 [suffi

Re: POpen, opening lots of processes

2004-01-08 Thread Hal Daume III
On Thu, 8 Jan 2004, Glynn Clements wrote: > What does the output from "ps" indicate? It lists all the processes as defunct: 19981 pts/5Z 0:00 [suffixtree ] 19982 pts/5Z 0:00 [suffixtree ] 19983 pts/5Z 0:00 [suffixtree ] 19984 pts/5Z 0:00 [suffixtree ] 19985 pt

Re: POpen, opening lots of processes

2004-01-08 Thread Glynn Clements
Hal Daume III wrote: > I'm using POpen to shell out to a command several hundreds or thousands of > times per call (none of them simultaneous, though, this is completely > serial). After running my program for a while, I get: > > Fail: resource exhausted > Action: forkProcess > Reason: Resour

POpen, opening lots of processes

2004-01-08 Thread Hal Daume III
Hi, I'm using POpen to shell out to a command several hundreds or thousands of times per call (none of them simultaneous, though, this is completely serial). After running my program for a while, I get: Fail: resource exhausted Action: forkProcess Reason: Resource temporarily unavailable whic

GHC 6.2, -main-is option under Windows, not working?

2004-01-08 Thread Graham Klyne
I'm trying to use the new GHC -main-is flag to compile programs under Windows from source files with module names other than Main, but it doesn't seem to be working. Details of my problem are at: http://haskell.org/pipermail/haskell/2004-January/013332.html Is it a bug, or something I'm over

RE: .hi-boot abuse

2004-01-08 Thread Simon Marlow
> I have a question which came up as a result of some attempts > to enforce > seperate compilation. Suppose we have two modules as follows: > > -- A.hs > module A (AbstractType) where > > data AbstractType = it's hidden implementation > > f :: AbstractType -> String > f _ = "foo"

Re: threadDelay problem

2004-01-08 Thread John Meacham
On Wed, Jan 07, 2004 at 12:38:11PM -, Simon Marlow wrote: > > > The idea is to stop a Haskell prog with no runable threads or events > > to process hogging CPU time. I was a bit dissapointed to find > > that despite > > this on my (otherwise idle) machine the above code was still > > using

Announce: GHC 6.2 for Mac OS X Jaguar and Panther

2004-01-08 Thread Gregory Wright
Hello, A port of ghc-6.2 for Mac OS X (both Jaguar and Panther) is available from the darwinports system. Information on obtaining darwinports is available from http://darwinports.opendarwin.org. Once darwinports is installed, building ghc is done by changing to the lang/ghc directory and issu