* Checks whether any exceptions have occurred while executing tasks for this * work queue. When a custom exception callback is set this method will always * return false. */
| 153 | * return false. |
| 154 | */ |
| 155 | bool WorkQueue::HasExceptions() const |
| 156 | { |
| 157 | std::unique_lock<std::mutex> lock(m_Mutex); |
| 158 | |
| 159 | return !m_Exceptions.empty(); |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * Returns all exceptions which have occurred for tasks in this work queue. When a |
no test coverage detected