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