[Haskell-cafe] Threads talking back to parent

Joel Reymont joelr1 at gmail.com
Mon Oct 31 15:36:52 EST 2005


I'm launching thousands of threads that send and receive commands. I  
would like the launching thread to keep a log of all the commands  
sent and received, in proper order.

This would mean that each time a command is sent and received in the  
child thread it would need to be sent back to parent who would log  
the command on a first-come first-serve basis.

How would I implement this in Haskell?

     Thanks, Joel


More information about the Haskell-Cafe mailing list