Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

TPJConsoleAppPriority type

Project: Console Application Runner Classes

Unit: PJConsoleApp

Applies to: ~>3.0

type
  TPJConsoleAppPriority = (
    cpDefault, cpHigh, cpNormal, cpIdle, cpRealTime
  );

Description

TPJConsoleAppPriority is the type of the TPJCustomConsoleApp.Priority property. It defines values for each possible priority level with which an application can be executed.

Values are:

Value Description
cpDefault Default priority. Normally cpNormal is used unless the parent process has priority cpIdle in which case cpIdle is used.
cpHigh High priority. Use for time-critical tasks (processor intensive).
cpNormal Normal priority for applications with no specific scheduling needs.
cpIdle Idle priority. The process is run only when the system is idle.
cpRealTime Real time priority. Highest possible priority (pre-empts all threads, including the operating system).

See Also