Locked tasks

Angelo Fraietta angelo_f at bigpond.com
Fri Jun 6 01:18:47 UTC 2003


So if I set to use timeslicing, what would the default number of 
timeslices be?

Chris Johns wrote:

> Angelo Fraietta wrote:
>
>>
>> Does the default attributes use timeslices?
>>
>
> No.
>
> From lib/include/rtems/rtems/modes.h:
>
> #define RTEMS_DEFAULT_MODES     0x00000000
>
> #define RTEMS_PREEMPT      0x00000000     /* enable preemption        */
> #define RTEMS_NO_PREEMPT   0x00000100     /* disable preemption       */
>
> #define RTEMS_NO_TIMESLICE 0x00000000     /* disable timeslicing      */
> #define RTEMS_TIMESLICE    0x00000200     /* enable timeslicing       */
>
> #define RTEMS_ASR          0x00000000     /* enable 
> RTEMS_ASR               */
> #define RTEMS_NO_ASR       0x00000400     /* disable 
> RTEMS_ASR              */
>
>
>

-- 
Angelo Fraietta

PO Box 859
Hamilton NSW 2303

Home Page


http://www.users.bigpond.com/angelo_f/

There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
    Bernard of Clairvaux (1090 - 1153)







More information about the users mailing list