| 236 | //! Execute a function as a task in pool |
| 237 | template <typename... TArgs> |
| 238 | void execute(uint64_t key, TArgs &&...args) { |
| 239 | this->enqueue_and_wake(key, Closure::New(std::forward<TArgs>(args)...)); |
| 240 | } |
| 241 | |
| 242 | //! Push a task to the queue with high priority |
| 243 | template <typename T> |
nothing calls this directly
no test coverage detected