MCPcopy Create free account
hub / github.com/Tracktion/choc / callerIsOnMessageThread

Function callerIsOnMessageThread

choc/gui/choc_MessageLoop.h:181–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181inline bool callerIsOnMessageThread()
182{
183 return getMainThreadIDRef() == std::this_thread::get_id();
184}
185
186struct Timer::Pimpl
187{

Callers 3

WebViewMethod · 0.85
~WebViewMethod · 0.85
testTimersFunction · 0.85

Calls 1

getSharedMessageWindowFunction · 0.85

Tested by 1

testTimersFunction · 0.68