MCPcopy Create free account
hub / github.com/KTStephano/StratusGFX / AddTaskGroupCallback

Function AddTaskGroupCallback

Source/Engine/StratusTaskSystem.h:150–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149 template<typename E>
150 void AddTaskGroupCallback(const std::function<void (const std::vector<Async<E>>&)>& callback, const std::vector<Async<E>>& group) {
151 auto ul = std::unique_lock<std::mutex>(m_);
152 waiting_.push_back(new TaskWaitImpl_<E>(callback, group));
153 }
154
155 size_t Size() const {
156 return taskThreads_.size();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected