MCPcopy Create free account
hub / github.com/coin-or/CppAD / start_routine

Function start_routine

example/multi_thread/pthread/a11c_pthread.cpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 // End of Example A.1.1.1c of OpenMP 2.5 standard document ---------------
53 struct start_arg { int n; float* a; float* b; };
54 void* start_routine(void* arg_vptr)
55 { start_arg* arg = static_cast<start_arg*>( arg_vptr );
56 a1(arg->n, arg->a, arg->b);
57
58 void* no_status = nullptr;
59 pthread_exit(no_status);
60
61 return no_status;
62 }
63}
64
65bool a11c(void)

Callers

nothing calls this directly

Calls 1

a1Function · 0.70

Tested by

no test coverage detected