On Tue, Aug 17, 2010 at 2:52 PM, Kobi Lurie <[email protected]> wrote:
> There are two use cases I haven't found in the library,
> one is to run a limited number of threads at a time.
You want to use semaphores:
{
URL" http://www.apple.com"
URL" http://www.google.com"
URL" http://www.ibm.com"
URL" http://www.hp.com"
URL" http://www.oracle.com"
}
2 <semaphore> '[
_ [
http-get
] with-semaphore
] parallel-map
I've updated the docs with the above example.
Slava
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk