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

Method softCopy

Engine/TLSHolder.cpp:106–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void
107AppTLS::softCopy(QThread* fromThread,
108 QThread* toThread)
109{
110 if ( (fromThread == toThread) || !fromThread || !toThread ) {
111 return;
112 }
113
114 copyAbortInfo(fromThread, toThread);
115
116 QWriteLocker k(&_spawnsMutex);
117 _spawns[uintptr_t(toThread)] = fromThread;
118}
119
120void
121AppTLS::cleanupTLSForThread()

Callers 2

threadFunctionWrapperFunction · 0.80
OfxThreadClass · 0.80

Calls 1

copyAbortInfoFunction · 0.85

Tested by

no test coverage detected