MCPcopy Create free account
hub / github.com/MrKepzie/Natron / waitForAbortToCompleteQueued_main_thread

Method waitForAbortToCompleteQueued_main_thread

Engine/GenericSchedulerThread.cpp:412–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void
413GenericSchedulerThread::waitForAbortToCompleteQueued_main_thread()
414{
415 assert( QThread::currentThread() == qApp->thread() );
416 _imp->blockingOperationWatcher.reset( new GenericSchedulerThreadWatcher(this) );
417 QObject::connect( _imp->blockingOperationWatcher.get(), SIGNAL(taskFinished(int,WatcherCallerArgsPtr)), this, SLOT(onWatcherTaskAbortedEmitted()) );
418 _imp->blockingOperationWatcher->scheduleBlockingTask(GenericSchedulerThreadWatcher::eBlockingTaskWaitForAbort);
419}
420
421bool
422GenericSchedulerThread::startTask(const ThreadStartArgsPtr& inArgs)

Callers

nothing calls this directly

Calls 3

scheduleBlockingTaskMethod · 0.80
resetMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected