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

Function ScheduleVoidTask_

Source/Engine/StratusTaskSystem.h:126–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 }
125
126 Async<void> ScheduleVoidTask_(const std::function<void (void)>& process) {
127 auto ul = std::unique_lock<std::mutex>(m_);
128
129 const auto index = GetNextThreadIndexForTask_();
130
131 return CreateAsyncVoidTask_(process, index);
132 }
133
134 public:
135 template<typename E>

Callers 1

ScheduleTaskFunction · 0.85

Calls 2

CreateAsyncVoidTask_Function · 0.85

Tested by

no test coverage detected