Changeset 1d9d044 in rtems


Ignore:
Timestamp:
Sep 17, 1996, 9:33:07 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
cc51de91
Parents:
41be2e8
Message:

Reversed logic in conditional to correctly distinguish between
FIFO and priority disciplines.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/src/coremutex.c

    r41be2e8 r1d9d044  
    7373    &the_mutex->Wait_queue,
    7474    the_class,
    75     _CORE_mutex_Is_priority( the_mutex_attributes ) ?
    76       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
     75    _CORE_mutex_Is_fifo( the_mutex_attributes ) ?
     76      THREAD_QUEUE_DISCIPLINE_FIFO : THREAD_QUEUE_DISCIPLINE_PRIORITY,
    7777    STATES_WAITING_FOR_MUTEX,
    7878    proxy_extract_callout,
  • cpukit/score/src/coremutex.c

    r41be2e8 r1d9d044  
    7373    &the_mutex->Wait_queue,
    7474    the_class,
    75     _CORE_mutex_Is_priority( the_mutex_attributes ) ?
    76       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
     75    _CORE_mutex_Is_fifo( the_mutex_attributes ) ?
     76      THREAD_QUEUE_DISCIPLINE_FIFO : THREAD_QUEUE_DISCIPLINE_PRIORITY,
    7777    STATES_WAITING_FOR_MUTEX,
    7878    proxy_extract_callout,
Note: See TracChangeset for help on using the changeset viewer.