MCPcopy Create free account
hub / github.com/LiangliangNan/PolyFit / in_parallel

Function in_parallel

code/3rd_party/scip/scip/exprinterpret_cppad.cpp:120–124  ·  view source on GitHub ↗

CppAD callback function that indicates whether we are running in parallel mode */

Source from the content-addressed store, hash-verified

118
119/** CppAD callback function that indicates whether we are running in parallel mode */
120static
121bool in_parallel(void)
122{
123 return ncurthreads > 1;
124}
125
126/** CppAD callback function that returns the number of the current thread
127 *

Callers 15

inc_inuseMethod · 0.85
inc_availableMethod · 0.85
dec_inuseMethod · 0.85
dec_availableMethod · 0.85
set_get_num_threadsMethod · 0.85
return_memoryMethod · 0.85
free_availableMethod · 0.85
inuseMethod · 0.85
availableMethod · 0.85
free_allMethod · 0.85
RootMethod · 0.85
PrintMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected