Changeset 5870ac55 in rtems for cpukit/score/macros


Ignore:
Timestamp:
Jan 5, 2000, 10:19:21 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ef03d0e
Parents:
5283cc82
Message:

Added support for simple binary semaphores in addition to the high
power binary/mutex style semaphores already supported by RTEMS. This
was done at the request of Eric Norum <eric@…> in support
of his effort to port EPICS to RTEMS. This change consisted of
changing the nesting_allowed boolean into a lock_nesting_behavior
enumerated value as well as allowing the core mutex object to optionally
support ensuring that the holder of a binary semaphore released it.
Finally, a more subtle enhancement was to allow the non-holder to release
a priority inheritance/ceiling mutex and still allow the holding task
to return to its original priority.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/macros/rtems/score/coremutex.inl

    r5283cc82 r5870ac55  
    6464  ( (_the_attribute)->discipline == CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING )
    6565 
    66 /*PAGE
    67  *
    68  *  _CORE_mutex_Is_nesting_allowed
    69  *
    70  */
    71  
    72 #define _CORE_mutex_Is_nesting_allowed( _the_attribute ) \
    73   ( (_the_attribute)->allow_nesting == TRUE )
    74 
    7566#endif
    7667/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.