| 124 | } |
| 125 | |
| 126 | Async<void> ScheduleVoidTask_(const std::function<void (void)>& process) { |
| 127 | auto ul = std::unique_lock<std::mutex>(m_); |
| 128 | |
| 129 | const auto index = GetNextThreadIndexForTask_(); |
| 130 | |
| 131 | return CreateAsyncVoidTask_(process, index); |
| 132 | } |
| 133 | |
| 134 | public: |
| 135 | template<typename E> |
no test coverage detected