MayaFlux
0.3.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
~Impl()
MayaFlux::Journal::Archivist::Impl::~Impl
(
)
inline
Definition at line
25
of file
Archivist.cpp
.
26
{
27
m_worker_running
.store(
false
, std::memory_order_release);
28
29
if
(
m_worker_thread
.joinable()) {
30
auto
start = std::chrono::steady_clock::now();
31
while
(
m_worker_thread
.joinable() && std::chrono::steady_clock::now() - start < std::chrono::milliseconds(500)) {
32
std::this_thread::sleep_for(std::chrono::milliseconds(10));
33
}
34
35
if
(
m_worker_thread
.joinable()) {
36
m_worker_thread
.detach();
37
}
38
}
39
}
MayaFlux::Journal::Archivist::Impl::m_worker_running
std::atomic< bool > m_worker_running
Definition
Archivist.cpp:345
MayaFlux::Journal::Archivist::Impl::m_worker_thread
std::thread m_worker_thread
Definition
Archivist.cpp:346
References
m_worker_running
, and
m_worker_thread
.
MayaFlux
Journal
Archivist
Impl
Generated by
1.9.8