Hi all,
Excerpts from Simon Marlow's message of Wed Nov 17 06:15:46 -0500 2010:
> I suggest keeping track of the number of items in the queue.Ok, I added a spare_workers_no field to the Capability struct.
Added.
> So I think the main thing missing is a call to workerTaskStop().
Do you mean, spare workers that have useful tasks to do?
> It would be really nice if we could arrange that in the case where we
> have too many spare workers, the extra workers exit via the same route,
> but I suspect that might not be easy.
Edward
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users