| 1801 | {} |
| 1802 | |
| 1803 | void DspNetwork::CodeManager::SnexSourceCompileHandler::postCompile(ui::WorkbenchData::CompileResult& lastResult) |
| 1804 | { |
| 1805 | auto currentThread = Thread::getCurrentThread(); |
| 1806 | |
| 1807 | if (currentThread != this) |
| 1808 | { |
| 1809 | runTestNext.store(true); |
| 1810 | startThread(); |
| 1811 | return; |
| 1812 | } |
| 1813 | |
| 1814 | if (lastResult.compiledOk() && test != nullptr && getParent()->getGlobalScope().isDebugModeEnabled()) |
| 1815 | { |
| 1816 | getParent()->getGlobalScope().getBreakpointHandler().setExecutingThread(currentThread); |
| 1817 | lastResult.compileResult = test->runTest(lastResult); |
| 1818 | getParent()->getGlobalScope().getBreakpointHandler().setExecutingThread(nullptr); |
| 1819 | } |
| 1820 | |
| 1821 | runTestNext.store(false); |
| 1822 | } |
| 1823 | |
| 1824 | SimpleReadWriteLock& DspNetwork::CodeManager::SnexSourceCompileHandler::getCompileLock() |
| 1825 | { return compileLock; } |
nothing calls this directly
no test coverage detected