|
ADTF
|
#include <kernel_intf.h>
Public Member Functions | |
| tSchedulingInfo (tSchedulingClass eSchedulingClass=tSchedulingClass::Default, float fPriority=-1.0, const uint8_t *pProcessorAffinity=nullptr, size_t nProcessorAffinityByteCount=0) | |
Public Attributes | |
| tSchedulingClass | eSchedulingClass |
| The scheduling class. | |
| float | fPriority |
| The priority [0.0, 1.0]. | |
| uint8_t | aProcessorAffinity [128] |
| The processor affinity (bitmask). | |
Struct for defining scheduling settings of a thread or timer.
|
inline |
Constructor.
| [in] | eSchedulingClass | The scheduling class. |
| [in] | fPriority | The priority in the range of 0.0 to 1.0. -1.0 = default. |
| [in] | pProcessorAffinity | A pointer to an array where each bit defines whether a thread is allowed to run on the corresponding processor. |
| [in] | nProcessorAffinityByteCount | The size of the processor affinity array. |