adapnex::core::Application::CreateUITaskGroup

Creates a task group that is run on the main thread. The returned task group is freewheeling and is run on the main thread of the application, as required by the user interface frameworks of some platforms. Only one such task group may be created.

Synopsis

Declared in <adapnex/core/application.h>

static
std::shared_ptr<TaskGroup>
CreateUITaskGroup();

Description

This method must only be called during the setup phase of the application.

Return Value

Returns a shared pointer to the task group instance.

Created with MrDocs