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

Method clearAbortInfo

Engine/ThreadPool.cpp:143–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void
144AbortableThread::clearAbortInfo()
145{
146 AbortableRenderInfoPtr abortInfo;
147 {
148 QMutexLocker k(&_imp->abortInfoMutex);
149 abortInfo = _imp->abortInfo.lock();
150 _imp->abortInfo.reset();
151 _imp->treeRoot.reset();
152 _imp->abortInfoValid = false;
153 }
154
155 if (abortInfo) {
156 abortInfo->unregisterThreadForRender(this);
157 }
158}
159
160bool
161AbortableThread::getAbortInfo(bool* isRenderResponseToUserInteraction,

Callers 1

cleanupTLSForThreadMethod · 0.80

Calls 3

lockMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected