On Wed, 2010-06-02 at 21:47 -0500, Allan Espinosa wrote: > Ahhh, I always thought its for all the foreach statemtns. No. That would open the door to unpredictable deadlocks. Imagine consumer and producer, consumer filling the thread count and waiting on data from producer who would be unable to produce because of the thread limit.