MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/Cauldron / AddAsyncTask

Method AddAsyncTask

src/common/Misc/Async.cpp:110–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void AsyncPool::AddAsyncTask(std::function<void()> job, Sync *pSync)
111{
112 m_pool.push_back( new Async(job, pSync) );
113}
114
115//
116// ExecAsyncIfThereIsAPool, will use async if there is a pool, otherwise will run the task synchronously

Callers 1

ExecAsyncIfThereIsAPoolFunction · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected