MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / RegisterThreadPool

Method RegisterThreadPool

Sources/nCine/ServiceLocator.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void ServiceLocator::RegisterThreadPool(std::unique_ptr<IThreadPool> service)
30 {
31 registeredThreadPool_ = std::move(service);
32 threadPool_ = registeredThreadPool_.get();
33 }
34
35 void ServiceLocator::UnregisterThreadPool()
36 {

Callers 1

InitCommonMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected