On Wed, Dec 13, 2006 at 11:01:10AM -0800, Larry Wall wrote:
: Of course, it's also possible that the flipside is true--that
: gather/take is just another normal way to set up interthread queueing,
: if the thread is spawned in the dynamic scope of the gather.
: Under that view all the subthreads share the outer dynamic scope.
: Maybe that's saner...

And a subdivision of that view is whether subthreads are naturally
collected at the end of the dynamic scope that spawned them, or
whether they are considered independent unless some dynamic scope
"claims" them all for collection.  In that case a gather would one
way (the normal way?) to require termination of all subthreads before
terminating its lazy list.

Larry

Reply via email to