MCPcopy Create free account
hub / github.com/chrxh/alien / checkForException

Method checkForException

source/EngineImpl/EngineWorker.cpp:645–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645void EngineWorkerGuard::checkForException(ExceptionData const& exceptionData)
646{
647 std::unique_lock<std::mutex> uniqueLock(exceptionData.mutex);
648 if (exceptionData.errorMessage) {
649 throw std::runtime_error("GPU worker thread is in an invalid state.");
650 }
651}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected