MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / executeInMainThread

Method executeInMainThread

src/engine/JobManager.h:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59 template <class ReturnType = void>
60 std::future<ReturnType> executeInMainThread(JobType<ReturnType> job)
61 {
62 return executeInThread(std::move(job), ExecutionPolicy::MainThread);
63 }
64
65 /**
66 * Whether multi-threading is enabled

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected