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

Method TContMachineContext

util/system/context.cpp:223–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221
222#if defined(USE_FIBER_CONT)
223TContMachineContext::TContMachineContext()
224 : Fiber_(ConvertThreadToFiber(this))
225 , MainFiber_(true)
226{
227 Y_ENSURE(Fiber_, TStringBuf("fiber error"));
228}
229
230TContMachineContext::TContMachineContext(const TContClosure& c)
231 : Fiber_(CreateFiber(c.Stack.size(), (LPFIBER_START_ROUTINE)ContextTrampoLine, (LPVOID)c.TrampoLine))

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected