Terminate unused worker threads

Edward Z. Yang ezyang at MIT.EDU
Wed Nov 17 13:59:39 EST 2010

Hello Ryan,

Adding the extra spare_workers_no field bookkeeping doesn't add very much
overhead, since whenever spare_worker's is changing we already have
taken out the lock.

As for using a lock-free data structures, I can't say I have a good
feel for how performance might change in that case. :-)


More information about the Glasgow-haskell-users mailing list