MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / waitForAbortToComplete_main_thread

Method waitForAbortToComplete_main_thread

Engine/OutputSchedulerThread.cpp:3269–3277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3267}
3268
3269void
3270RenderEngine::waitForAbortToComplete_main_thread()
3271{
3272 assert( QThread::currentThread() == qApp->thread() );
3273 assert(!_imp->engineWatcher);
3274 _imp->engineWatcher.reset( new RenderEngineWatcher(this) );
3275 QObject::connect( _imp->engineWatcher.get(), SIGNAL(taskFinished(int,GenericWatcherCallerArgsPtr)), this, SLOT(onWatcherEngineAbortedEmitted()) );
3276 _imp->engineWatcher->scheduleBlockingTask(RenderEngineWatcher::eBlockingTaskWaitForAbort);
3277}
3278
3279bool
3280RenderEngine::isSequentialRenderBeingAborted() const

Callers

nothing calls this directly

Calls 3

scheduleBlockingTaskMethod · 0.80
resetMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected