MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / thread_num

Function thread_num

highs/parallel/HighsParallel.h:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35inline int thread_num() {
36 return HighsTaskExecutor::getThisWorkerDeque()->getOwnerId();
37}
38
39template <typename F>
40void spawn(HighsSplitDeque* localDeque, F&& f) {

Callers 3

invertMethod · 0.85
myThreadMethod · 0.85

Calls 1

getOwnerIdMethod · 0.80

Tested by

no test coverage detected