MCPcopy Create free account
hub / github.com/catboost/catboost / Spawn

Function Spawn

library/cpp/neh/utils.h:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19 template <typename T, void (T::*M)()>
20 static TThreadRef Spawn(T* t) {
21 TThreadRef thr(new TThread(HelperMemberFunc<T, M>, t));
22
23 thr->Start();
24
25 return thr;
26 }
27
28 size_t RealStackSize(size_t len) noexcept;
29

Callers

nothing calls this directly

Calls 1

StartMethod · 0.45

Tested by

no test coverage detected