Changeset d80188eb in rtems


Ignore:
Timestamp:
Nov 2, 1999, 3:30:20 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
b970c48
Parents:
fd882ee
Message:

Added code to utilize the maximum_count attribute of core semaphores
and initialize it to a value that would keep it from every being
a problem.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/rtems/src/semcreate.c

    rfd882ee rd80188eb  
    9494  } else
    9595#endif
     96
    9697  if ( _Attributes_Is_inherit_priority( attribute_set ) ||
    9798              _Attributes_Is_priority_ceiling( attribute_set ) ) {
     
    167168
    168169    /*
     170     *  This effectively disables limit checking.
     171     */
     172
     173    the_semaphore_attributes.maximum_count = 0xFFFFFFFF;
     174
     175    /*
    169176     *  The following are just to make Purify happy.
    170177     */
  • cpukit/rtems/src/semcreate.c

    rfd882ee rd80188eb  
    9494  } else
    9595#endif
     96
    9697  if ( _Attributes_Is_inherit_priority( attribute_set ) ||
    9798              _Attributes_Is_priority_ceiling( attribute_set ) ) {
     
    167168
    168169    /*
     170     *  This effectively disables limit checking.
     171     */
     172
     173    the_semaphore_attributes.maximum_count = 0xFFFFFFFF;
     174
     175    /*
    169176     *  The following are just to make Purify happy.
    170177     */
Note: See TracChangeset for help on using the changeset viewer.