> I want to spawn a bunch of processes, then block until all of them
> have finished, without writing boilerplate code. Can this be achieved
> using extra/concurrency? Do we need the ability to 'join' futures
> together?
There are a number of ways you can do this. The easiest is probably
use use futures and have the quotation return a value and wait on that
value:
{ [ ... f ] [ ... f ] [ ... f ] } [ future ] map
Then when you want to join, given the sequence of futures:
[ ?future drop ] each
Chris.
--
http://www.bluishcoder.co.nz
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk