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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to