Locked tasks
Joel Sherrill
joel.sherrill at OARcorp.com
Fri Jun 6 16:50:49 UTC 2003
Chris Johns wrote:
>
> Angelo Fraietta wrote:
> >
> > Does the default attributes use timeslices?
> >
>
> No.
And this is actually documented. :)
http://www.oarcorp.com/rtemsdoc-current/html/c_user/c_user00050.html
> 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 */
>
> --
> Chris Johns, cjohns at cybertec . com . au
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list