Description Usage Arguments Details Value See Also Examples
Set and get the number of threads used for processing data. Note that this does not influence the number of threads used when solving a conservation problem and this must be set when adding the solver to the problem.
1 2 3 | set_number_of_threads(x = 1L)
get_number_of_threads()
|
x |
|
To stop processing data in parallel, set the number of threads to one.
integer
number of threads.
invisible logical
indicating
success.
1 2 3 4 5 6 7 8 9 10 | # set number of threads to 2
set_number_of_threads(2)
# get number of threads
get_number_of_threads()
# reset number of threads to 1
set_number_of_threads(1)
# get number of threads
get_number_of_threads()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.