Changeset debe919 in rtems for cpukit/rtems/src/sem.c


Ignore:
Timestamp:
04/19/96 21:10:58 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
767a6c6
Parents:
78b2ff1
Message:

event.c: _Event_Manager_initialization no longer a static inline

sem.c: modified to eliminate Purify warnings

File:
1 edited

Legend:

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

    r78b2ff1 rdebe919  
    171171    /* Add priority ceiling code here ????? */
    172172
     173    the_mutex_attributes.priority_ceiling = priority_ceiling;
     174
    173175    if ( count == 1 )
    174176      lock = CORE_MUTEX_UNLOCKED;
     
    189191    else
    190192      the_semaphore_attributes.discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;
     193
     194    /*
     195     *  The following are just to make Purify happy.
     196     */
     197
     198    the_mutex_attributes.allow_nesting = TRUE;
     199    the_mutex_attributes.priority_ceiling = PRIORITY_MINIMUM;
    191200
    192201    _CORE_semaphore_Initialize(
Note: See TracChangeset for help on using the changeset viewer.