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

Method finalize

modules/core/core/src/async/named_thread.cpp:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99AsyncResult NamedThread::finalize() SKR_NOEXCEPT
100{
101 if (skr_atomic32_load_acquire(&started))
102 {
103 skr_destroy_thread(tHandle);
104 skr_atomic32_store_release(&started, false);
105 }
106 return ASYNC_RESULT_OK;
107}
108
109}

Callers

nothing calls this directly

Calls 3

skr_destroy_threadFunction · 0.50

Tested by

no test coverage detected