MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / ~BackgroundThread

Method ~BackgroundThread

Src/Base/AMReX_BackgroundThread.cpp:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10BackgroundThread::~BackgroundThread ()
11{
12 if (m_thread) {
13 Submit([this] () { m_finalizing = true; });
14 m_thread->join();
15 m_thread.reset();
16 }
17}
18
19void BackgroundThread::do_job ()
20{

Callers

nothing calls this directly

Calls 3

SubmitFunction · 0.85
joinMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected