MCPcopy Create free account
hub / github.com/crownengine/crown / ~ResourceLoader

Method ~ResourceLoader

src/resource/resource_loader.cpp:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40ResourceLoader::~ResourceLoader()
41{
42 _mutex.lock();
43 _exit.store(true);
44 _requests_condition.signal(); // Wake to exit thread.
45 _mutex.unlock();
46
47 _thread.stop();
48}
49
50bool ResourceLoader::add_request(const ResourceRequest &rr)
51{

Callers

nothing calls this directly

Calls 5

signalMethod · 0.80
lockMethod · 0.45
storeMethod · 0.45
unlockMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected