Locked tasks

Chris Johns cjohns at cybertec.com.au
Fri Jun 6 00:16:13 UTC 2003


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              */



-- 
  Chris Johns, cjohns at cybertec . com . au




More information about the users mailing list