Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ CalledOnOriginalThread
Method
CalledOnOriginalThread
libs/base/thread_checker.cpp:5–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
ThreadChecker::ThreadChecker() : m_id(std::this_thread::get_id()) {}
4
5
bool ThreadChecker::CalledOnOriginalThread() const
6
{
7
return std::this_thread::get_id() == m_id;
8
}
Callers
11
OnSearchResults
Method · 0.80
ForEachInRect
Method · 0.80
Load
Method · 0.80
Reset
Method · 0.80
OnSampleSelected
Method · 0.80
UpdateViewOnResults
Method · 0.80
~TaskRunner
Method · 0.80
Run
Method · 0.80
PostTask
Method · 0.80
~PProf
Method · 0.80
OnMapDeregistered
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected