MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / ServiceThread

Method ServiceThread

modules/core/core/src/async/service_thread.cpp:10–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace skr
9{
10ServiceThread::ServiceThread(const ServiceThreadDesc& desc) SKR_NOEXCEPT
11 : status_(kStatusStopped)
12{
13 f._service = this;
14
15 NamedThreadDesc tDesc = {};
16 tDesc.name = desc.name;
17 tDesc.priority = desc.priority;
18 tDesc.stack_size = 16 * 1024;
19 t.initialize(tDesc);
20}
21
22ServiceThread::~ServiceThread() SKR_NOEXCEPT
23{

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.45

Tested by

no test coverage detected