Hello Belka,

Sunday, September 13, 2009, 10:45:35 AM, you wrote:

> I used an MVar to signalize to many threads, when it's time to finish their
> business (I called it a LoopBreaker).

btw, may be you can change the architecture? in particular, where
these threads getting their jobs? if they read them from channels (or
you may change your code and split it to job producer and job executor
communicating via channel), then you may just push EOF job to each
queue when party is over

-- 
Best regards,
 Bulat                            mailto:[email protected]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to