MCPcopy Create free account
hub / github.com/3rdparty/libprocess / initialize

Method initialize

include/process/collect.hpp:136–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134
135protected:
136 void initialize() override
137 {
138 // Stop this nonsense if nobody cares.
139 promise->future().onDiscard(defer(this, &CollectProcess::discarded));
140
141 foreach (const Future<T>& future, futures) {
142 future.onAny(defer(this, &CollectProcess::waited, lambda::_1));
143 future.onAbandoned(defer(this, &CollectProcess::abandoned));
144 }
145 }
146
147private:
148 void abandoned()

Callers

nothing calls this directly

Calls 2

deferFunction · 0.85
futureMethod · 0.80

Tested by

no test coverage detected