| 627 | void request_stop(); |
| 628 | |
| 629 | void victims(std::vector<workstealing_victim> const & victims) |
| 630 | { |
| 631 | for (workstealing_victim v: victims) |
| 632 | { |
| 633 | if (v.index() == index_) |
| 634 | { |
| 635 | // skip self |
| 636 | continue; |
| 637 | } |
| 638 | if (v.numa_node() == numa_node_) |
| 639 | { |
| 640 | near_victims_.push_back(v); |
| 641 | } |
| 642 | all_victims_.push_back(v); |
| 643 | } |
| 644 | } |
| 645 | |
| 646 | [[nodiscard]] |
| 647 | auto index() const noexcept -> std::uint32_t |
no test coverage detected