##### Synopsis

    #include <ctl_api.h>
    extern CTL_TIME_t ctl_timeslice_period;

##### Description

ctl_timeslice_period contains the number of ticks to allow a task to run before it will be preemptively rescheduled by a task of the same priority. The variable is set to zero by default so that only higher priority tasks will be preemptively scheduled.

##### Portability

ctl_timeslice_period is provided in every implementation of the CrossWorks tasking library.