| 410 | } |
| 411 | |
| 412 | void |
| 413 | GenericSchedulerThread::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 | |
| 421 | bool |
| 422 | GenericSchedulerThread::startTask(const ThreadStartArgsPtr& inArgs) |
nothing calls this directly
no test coverage detected