Changeset 6881e0c in rtems for cpukit/posix/inline/rtems


Ignore:
Timestamp:
Apr 15, 1997, 6:02:18 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
83e39b26
Parents:
c24fef3
Message:

Reduced number of POSIX thread priorities from 255 to 254 to avoid conflicts
of lowest priority with the RTEMS IDLE thread. This was causing the lowest
priority GNAT Ada task to never run.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/inline/rtems/posix/priority.inl

    rc24fef3 r6881e0c  
    1818)
    1919{
    20   return (boolean) (priority >= 1 && priority <= 255);
     20  return (boolean) (priority >= 1 && priority <= 254);
    2121}
    2222
     
    2525)
    2626{
    27   return (Priority_Control) (256 - priority);
     27  return (Priority_Control) (255 - priority);
    2828}
    2929
     
    3232)
    3333{
    34   return 256 - priority;
     34  return 255 - priority;
    3535}
    3636
Note: See TracChangeset for help on using the changeset viewer.