.OpenModelica.Scripting.runScriptParallel

Information

As runScript, but runs the commands in parallel.

If useThreads=false (default), the script will be run in an empty environment (same as running a new omc process) with default config flags.

If useThreads=true (experimental), the scripts will run in parallel in the same address space and with the same environment (which will not be updated).

Interface

function runScriptParallel
  input String scripts[:];
  input Integer numThreads = numProcessors();
  input Boolean useThreads = false;
  output Boolean results[:];
end runScriptParallel;

Generated at 2022-06-29T00:33:29Z by OpenModelicaOpenModelica 1.20.0~dev-170-g821fd8f using GenerateDoc.mos