Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
35
inline int thread_num() {
36
return HighsTaskExecutor::getThisWorkerDeque()->getOwnerId();
37
}
38
39
template <typename F>
40
void spawn(HighsSplitDeque* localDeque, F&& f) {
Callers
3
invert
Method · 0.85
getThreadFactorTimerClockPointer
Method · 0.85
myThread
Method · 0.85
Calls
1
getOwnerId
Method · 0.80
Tested by
no test coverage detected