Changeset 70669f28 in rtems for cpukit/sapi/src/exinit.c


Ignore:
Timestamp:
May 11, 2007, 8:07:47 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
404903b
Parents:
4da36c1a
Message:

2007-05-11 Joel Sherrill <joel.sherrill@…>

  • rtems/src/region.c, sapi/src/exinit.c: Now that the Region is an optional manager, we cannot depend on it do initialize the internal Allocator Mutex. This was always a questionable place to do it, so this is a cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/src/exinit.c

    r4da36c1a r70669f28  
    159159  _Objects_Information_table[OBJECTS_INTERNAL_API] = _Internal_Objects;
    160160
     161  /*
     162   * Initialize the internal allocator Mutex
     163   */
     164  _API_Mutex_Initialization( 1 );
     165  _API_Mutex_Allocate( _RTEMS_Allocator_Mutex );
     166
    161167  _Priority_Handler_initialization();
    162168
Note: See TracChangeset for help on using the changeset viewer.