1Multicore.tmap(3kaya) Kaya module reference Multicore.tmap(3kaya)
2
3
4
6 Multicore::tmap - Threaded map
7
9 [b] tmap( b(a) f, [a] xs, Int limit=0 )
10
12 Returns the array created by appliction function f to every element of
13 xs
14 The applications are divided between a number of threads. f should
15 not modify global state. The number of threads created can be limited
16 with limit , the default being no limit.
17
19 Kaya standard library by Edwin Brady, Chris Morris and others
20 (kaya@kayalang.org). For further information see http://kayalang.org/
21
23 The Kaya standard library is free software; you can redistribute it
24 and/or modify it under the terms of the GNU Lesser General Public
25 License (version 2.1 or any later version) as published by the Free
26 Software Foundation.
27
29 Array.map (3kaya)
30 Array.zipWith (3kaya)
31
32
33
34Kaya December 2010 Multicore.tmap(3kaya)