Scilab 6.0.1
Please note that the recommended version of Scilab is 6.1.0. This page might be outdated.
See the recommended documentation of this function
parallel_concurrency
query about the concurrency of the current execution context
Syntax
C=parallel_concurrency()
Description
parallel_concurrency() returns a non-zero value when called from a parallel execution context (such as parallel_run.
function r=dummy_arg(n) r= parallel_concurrency(); endfunction; parallel_concurrency() // returns 0 // parallel_run requires a function taking at least one argument parallel_run(1:2,dummy_arg)// returns 2 non zero values
Comments
Add a comment:
Please login to comment this page.