Classes

Member variable Thread():priority Foundation

Identifies the priority of a thread.

Attribute: READONLY ASSIGNMENT HIDDEN
Data type: Numeric
Description

The operating system distributes the processor time to the available threads. The distribution occurs on the basis of the priority of each thread. Precedence when allocating processor time is based on the priority of each thread. Threads with the same priority are treated equally, and the CPU is assigned to these threads by the operating system using a round robin scheme. Threads with lower priority are allocated processor time only when higher priority threads do not execute code.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.