Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Assigning an absolute priority value to a thread

A thread can be assigned one of the five absolute priority values:

which are enumerators of the TThreadPriority enumeration, defined in e32std.h. These absolute priority values are assigned through RThread::SetPriority().

The resulting absolute priority of a thread is the same as the value assigned here. The priority of the process which owns the thread is ignored. In effect, these specific five values allow a thread's absolute priority to be set independently of the process's priority.

The following diagram shows the resulting absolute priority of a thread when set to one of these five values; it also shows them in relation to the process's priority values.