MayaFlux
0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
register_async()
void MayaFlux::Yantra::ComputeMatrix::register_async
(
std::future< void >
f
)
inline
private
Definition at line
567
of file
ComputeMatrix.hpp
.
568
{
569
std::lock_guard lk(
m_async_mtx
);
570
571
std::erase_if(
m_async_futures
, [](std::future<void>& f) {
572
return
f.wait_for(std::chrono::seconds(0)) == std::future_status::ready;
573
});
574
m_async_futures
.push_back(std::move(f));
575
}
MayaFlux::Yantra::ComputeMatrix::m_async_mtx
std::mutex m_async_mtx
Definition
ComputeMatrix.hpp:588
MayaFlux::Yantra::ComputeMatrix::m_async_futures
std::vector< std::future< void > > m_async_futures
Definition
ComputeMatrix.hpp:589
MayaFlux
Yantra
ComputeMatrix
Generated by
1.9.8