(0.8.0)
parallel\Runtime::run — Parallel Execution
Shall schedule closure for execution in parallel.
Shall schedule closure for execution in parallel, passing args at execution time.
Closures scheduled for parallel execution must not:
Instructions prohibited in Closures shceduled for parallel execution are:
Note:
No instructions are prohibited in the files which the Closure may include.
Arguments must not:
Note:
In the case of file stream resources, the resource will be cast to the file descriptor and passed as int where possible, this is unsupported on Windows.
A \parallel\Future shall only be returned if closure contains a return statement.
Shall throw \parallel\Exception if \parallel\Runtime was closed.
Shall throw \parallel\Exception if closure does not have the required characteristics.
Shall throw \parallel\Exception if args does not have the required characteristics.
Shall throw \parallel\Exception if \parallel\Future is ignored by caller.