[Haskell-cafe] hGetLine problem
Michael Walter
michael.walter at gmail.com
Fri Dec 10 14:49:35 EST 2004
Yeah, I don't see it either why it is affected :)
I can try hGetContents from home.
Thanks,
Michael
On Fri, 10 Dec 2004 19:12:39 +0000, Keean Schupke
<k.schupke at imperial.ac.uk> wrote:
> Hmm, I dont see why the main process would be affected... It should be able
> to accept multiple connections in parallel.
>
> Is it just hGetLine that causes the problem... what if you use hGetContents
> instead? Does it still not work?
>
> (I have a sever implemented - I tested it with "ab -n100 -c10" with no
> problems...)
>
> Keean.
>
>
>
> Michael Walter wrote:
>
> >I did that -- the main process doesn't die, anyway, it just seems to "hang".
> >
> >- Michael
> >
> >
> >On Fri, 10 Dec 2004 16:27:05 GMT, MR K P SCHUPKE
> ><k.schupke at imperial.ac.uk> wrote:
> >
> >
> >>>But if the forkIO'ed process terminates because of an exception, that
> >>>shouldn't influence the main process, right?
> >>>
> >>>
> >>Well, if its unix you might have to set sigPIPE to Ignore...
> >>
> >>Otherwise, the main process should not die just because the child has...
> >>
> >> Keean.
> >>
> >>
> >>
>
>
More information about the Haskell-Cafe
mailing list