| 147 | } |
| 148 | |
| 149 | void NormalExecEnv::wait_all() { |
| 150 | if (!m_worker_task_queue.empty()) { |
| 151 | if (m_worker_task_queue.size() > 1 || (m_async_level & 0b100)) { |
| 152 | m_worker_set.wait_all(); |
| 153 | } |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | void NormalExecEnv::clear() { |
| 158 | for (auto&& i : m_worker_task_queue) |
no test coverage detected