I'm trying to implement a better waitForChildren from the docs for Control.Concurrent.

I would like to know when all the children exit, basically, and I thought it would be neat to try to do that with STM.

Is there an advantage to STM here?

        Thanks, Joel

On Dec 6, 2005, at 1:29 PM, Simon Marlow wrote:

I'm not sure what you're using all those TMVars for, but it sounds like
it might be better to multiplex them all into a single channel, or
something.

--
http://wagerlabs.com/





_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to