[Haskell-cafe] Spurious program crashes
Tomasz Zielonka
tomasz.zielonka at gmail.com
Tue Nov 22 04:14:32 EST 2005
On Tue, Nov 22, 2005 at 09:03:55AM +0000, Joel Reymont wrote:
> I think it's much simpler than that. I just changed the trace
> function to send Just String down the channel. Whenever I send
> Nothing (from waitForChildren) the logger just exits. Simple change
> in two places, no need for MVars.
> Did I miss anything?
Perhaps I did. I had an impression that these MVars where a pattern that
you use in other parts of your code. If this is only limited to the
logger code then it code could be probably simplified even further.
> The program became much snappier, btw.
Did it fix the problem?
Best regards
Tomasz
More information about the Haskell-Cafe
mailing list