Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
10
BackgroundThread::~BackgroundThread ()
11
{
12
if (m_thread) {
13
Submit([this] () { m_finalizing = true; });
14
m_thread->join();
15
m_thread.reset();
16
}
17
}
18
19
void BackgroundThread::do_job ()
20
{
Callers
nothing calls this directly
Calls
3
Submit
Function · 0.85
join
Method · 0.80
reset
Method · 0.45
Tested by
no test coverage detected