MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / runOnUiThread

Function runOnUiThread

src/gui/main.cc:155–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void runOnUiThread(std::function<void()> callback)
156{
157 ExecEvent* event = new ExecEvent();
158 event->SetCallback(callback);
159 wxGetApp().QueueEvent(event);
160 execSemaphore.Wait();
161}
162
163void postToUiThread(std::function<void()> callback)
164{

Callers

nothing calls this directly

Calls 1

SetCallbackMethod · 0.80

Tested by

no test coverage detected