ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
Re: Gather/Take and threads
by Larry Wall other posts by this author
Dec 13 2006 11:09AM messages near this date
Re: Gather/Take and threads | supertyping
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
Thread:
Larry Wall
Larry Wall
Larry Wall

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved