Changeset ca82a603 in rtems


Ignore:
Timestamp:
Feb 15, 2020, 11:03:39 AM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
c7f748a
Parents:
e50e42b8
git-author:
Sebastian Huber <sebastian.huber@…> (02/15/20 11:03:39)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/25/20 06:18:35)
Message:

rtems: Change timer server task mode setting

Use the non-preempt mode only in uni-processor configurations.

Update #3876.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/timerserver.c

    re50e42b8 rca82a603  
    182182    priority,
    183183    stack_size,
    184     rtems_configuration_is_smp_enabled() ?
    185       RTEMS_DEFAULT_MODES : /* no preempt is not supported for SMP */
    186       RTEMS_NO_PREEMPT,   /* no preempt is like an interrupt */
    187                           /* user may want floating point but we need */
    188                           /*   system task specified for 0 priority */
     184#ifdef RTEMS_SMP
     185    RTEMS_DEFAULT_MODES, /* no preempt is not recommended for SMP */
     186#else
     187    RTEMS_NO_PREEMPT,    /* no preempt is like an interrupt */
     188#endif
     189    /* user may want floating point but we need */
     190    /*   system task specified for 0 priority */
    189191    attribute_set | RTEMS_SYSTEM_TASK,
    190192    &id
Note: See TracChangeset for help on using the changeset viewer.