MCPcopy 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

3ThreadChecker::ThreadChecker() : m_id(std::this_thread::get_id()) {}
4
5bool ThreadChecker::CalledOnOriginalThread() const
6{
7 return std::this_thread::get_id() == m_id;
8}

Callers 11

OnSearchResultsMethod · 0.80
ForEachInRectMethod · 0.80
LoadMethod · 0.80
ResetMethod · 0.80
OnSampleSelectedMethod · 0.80
UpdateViewOnResultsMethod · 0.80
~TaskRunnerMethod · 0.80
RunMethod · 0.80
PostTaskMethod · 0.80
~PProfMethod · 0.80
OnMapDeregisteredMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected