| 26 | |
| 27 | |
| 28 | CStatus init() override { |
| 29 | CGRAPH_FUNCTION_BEGIN |
| 30 | CGRAPH_ASSERT_INIT(false) |
| 31 | CGRAPH_ASSERT_NOT_NULL(config_) |
| 32 | |
| 33 | is_init_ = true; |
| 34 | buildStealTargets(); |
| 35 | thread_ = std::thread(&UThreadPrimary::run, this); |
| 36 | setSchedParam(); |
| 37 | setAffinity(index_); |
| 38 | CGRAPH_FUNCTION_END |
| 39 | } |
| 40 | |
| 41 | |
| 42 | /** |
nothing calls this directly
no test coverage detected