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

Method clearAbortInfo

Engine/ThreadPool.cpp:142–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

cleanupTLSForThreadMethod · 0.80

Calls 3

lockMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected