MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / gather

Function gather

include/daScript/simulate/aot_builtin_jobque.h:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 }
99 template <typename TT>
100 void gather ( TT && tt ) {
101 lock_guard<mutex> guard(mCompleteMutex);
102 for ( auto & f : pipe ) {
103 tt(f.data, f.type, f.from ? f.from : owner);
104 }
105 pipe.clear();
106 }
107 template <typename TT>
108 void gatherEx ( Context * ctx, TT && tt ) {
109 lock_guard<mutex> guard(mCompleteMutex);

Callers

nothing calls this directly

Calls 4

array_mark_lockedFunction · 0.85
clearMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected