1Multicore.texec(3kaya) Kaya module reference Multicore.texec(3kaya)
2
3
4
6 Multicore::texec - Threaded application
7
9 Void texec( Void(a1, a2, a3, a4, a5) f, a1() arg1, a2() arg2, a3()
10 arg3, a4() arg4, a5() arg5 )
11
13 Apply function f to the results of running a1 - an
14 Each argument ai is a computation which will be run concurrently with
15 the other arguments, so they must be independent (i.e. not modify any
16 shared state).
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
28
29
30Kaya December 2010 Multicore.texec(3kaya)