PxSetTimeslices()
Set timeslices.
- APPLIES TO
-
1.0.0
- SYNOPSIS
-
void PxSetTimeslices (PxTicks_t timeslices);
- ARGUMENTS
|
- DESCRIPTION
-
PxSetTimeslices installs timeslices as reload value for the calling task’s timeslice mechanism. If timeslices == 0, timeslicing is automatically disabled for the calling task.
- IMPLEMENTATION GUIDELINES
-
- Before call
-
-
timeslices
has to be a plausible value.
-
- After call
-
-
No checks necessary.
-
- Best Practice
-
-
No restrictions.
-
- SEE ALSO
- USAGE
-
#include "pxdef.h" PxSetTimeslices(timeslices);