AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ SetPriority()

virtual void DcppTask::SetPriority ( const int  Priority,
const bool  Absolute = false 
)
inlinevirtualinherited

Set the load time priority for a task when loaded.

Most operating systems allow the priority of a task to be set, through many do now allow a higher priority for unless appropiate privledges are available. This method allows the priority to be set if the task is to be loaded.

Parameters
PriorityThe new priority
AbsoluteIf true, Priority is absolute, otherwise it is relative (an may be negative).