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

Function runOnUiThread

src/gui/gui.h:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22template <typename R>
23static inline R runOnUiThread(std::function<R()> callback)
24{
25 R retvar;
26 runOnUiThread(
27 [&]()
28 {
29 retvar = callback();
30 });
31 return retvar;
32}
33
34class FluxEngineApp : public wxApp, public wxThreadHelper
35{

Callers 15

QueueJobMethod · 0.70
StartReadingMethod · 0.70
UpdateExplorerDataMethod · 0.70
MainWindowImplMethod · 0.70
StartBrowsingMethod · 0.70
StartFormattingMethod · 0.70
RepopulateBrowserMethod · 0.70
UpdateFilesystemDataMethod · 0.70
OnBrowserViewButtonMethod · 0.70
OnBrowserAddMenuItemMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected