PxSetTimeslices()

Set timeslices.

APPLIES TO

8.2.0

SYNOPSIS
void PxSetTimeslices (PxTicks_t timeslices);
ARGUMENTS
timeslices

Reload value for calling task’s timeslice mechanism

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);