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