Class sh::base::MainThread

class sh::base::MainThread

The main thread.

Lots of data structure may only accessed from the main thread. The UI and the sh::filesystem::FilesystemModel also live in this thread (although some functions there may allow multi-threading in some ways).

Public Static Functions

sh::base::ThreadDispatcher *dispatcher()

The sh::base::ThreadDispatcher, which allows to execute code in the main thread.