MCPcopy Create free account
hub / github.com/LabSound/LabSound / databaseLoaderEntry

Method databaseLoaderEntry

src/internal/src/HRTFPanner.cpp:152–161  ·  view source on GitHub ↗

Asynchronously load the database in this thread.

Source from the content-addressed store, hash-verified

150
151// Asynchronously load the database in this thread.
152void HRTFDatabaseLoader::databaseLoaderEntry(HRTFDatabaseLoader * threadData)
153{
154 std::lock_guard<std::mutex> locker(threadData->m_threadLock);
155 HRTFDatabaseLoader * loader = reinterpret_cast<HRTFDatabaseLoader *>(threadData);
156 ASSERT(loader);
157
158 threadData->m_loading = true;
159 loader->load();
160 threadData->m_loadingCondition.notify_one();
161}
162
163void HRTFDatabaseLoader::load()
164{

Callers

nothing calls this directly

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected