| 1594 | */ |
| 1595 | template <typename T1, typename T2, typename T = common_index_type_t<T1, T2>, typename F> |
| 1596 | void detach_loop(const T1 first_index, const T2 index_after_last, F&& loop, const std::size_t num_blocks = 0, const priority_t priority = 0) |
| 1597 | { |
| 1598 | enqueue_loop<T, F, false>(static_cast<T>(first_index), static_cast<T>(index_after_last), std::forward<F>(loop), num_blocks, priority); |
| 1599 | } |
| 1600 | |
| 1601 | /** |
| 1602 | * @brief Submit a sequence of tasks enumerated by indices to the queue, with the specified priority. The sequence function takes one argument, the task index, and will be called once per index. Does not return a `BS::multi_future`, so the user must use `wait()` or some other method to ensure that the sequence finishes executing, otherwise bad things will happen. |
nothing calls this directly
no outgoing calls
no test coverage detected