Kaya 0.4.4 reference for Multicore::tmap

List of functions and data types in Multicore

[b] tmap(b(a) f, [a] xs, Int limit=0)

Usage

Returns the array created by appliction function f to every element of xs. The applications are divided between a number of threads. f should not modify global state. The number of threads created can be limited with limit, the default being no limit.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya