Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SakuraEngine/SakuraEngine
/ stop
Method
stop
modules/core/task/src/task2.cpp:199–210 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
197
}
198
199
void stop()
200
{
201
if(!isMainThread)
202
{
203
skr_join_thread(handle);
204
skr_destroy_thread(handle);
205
}
206
else
207
{
208
//do nothing
209
}
210
}
211
212
int stealWork(int rand)
213
{
Callers
1
shutdown
Method · 0.45
Calls
2
skr_join_thread
Function · 0.50
skr_destroy_thread
Function · 0.50
Tested by
no test coverage detected