Redigera

Dela via


PartyWorkMode

Configuration modes representing how the Party library will manage an internal processing task.

Syntax

enum class PartyWorkMode    
{  
    Automatic = 0,  
    Manual = 1,  
}  

Constants

Constant Description
Automatic The Party library will create internal threads to automatically handle the associated processing task.

This is the default, recommended option which encodes the Party library's best practices for processing its internal task.
Manual The Party library will not create internal threads to handle the associated processing task, instead relying on the title to perform the task through calls to PartyManager::DoWork().

Remarks

For an overview of the processing tasks and their frequencies, see PartyThreadId.

Requirements

Header: Party.h

See also

Party members
PartyManager::SetWorkMode
PartyManager::GetWorkMode
PartyManager::DoWork