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

Method OnExec

src/gui/main.cc:141–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void FluxEngineApp::OnExec(const ExecEvent& event)
142{
143 try
144 {
145 event.RunCallback();
146 if (event.IsSynchronous())
147 execSemaphore.Post();
148 }
149 catch (std::exception& e)
150 {
151 std::cerr << "Unhandled exception: " << e.what() << "\n";
152 }
153}
154
155void runOnUiThread(std::function<void()> callback)
156{

Callers

nothing calls this directly

Calls 3

RunCallbackMethod · 0.80
IsSynchronousMethod · 0.80
whatMethod · 0.80

Tested by

no test coverage detected