Changeset f4794b6 in rtems


Ignore:
Timestamp:
Apr 24, 2018, 1:40:07 PM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
b07da56e
Parents:
905d7fa
Message:

drvmgr: Really fix API mutex usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdrvmgr/drvmgr_lock.c

    r905d7fa rf4794b6  
    1414void _DRV_Manager_Lock( void )
    1515{
    16   if ( !_System_state_Is_before_multitasking( _System_state_Get() ) ) {
     16  if ( !_System_state_Is_before_initialization( _System_state_Get() ) ) {
    1717    _API_Mutex_Lock( &drvmgr.lock );
    1818  }
     
    2121void _DRV_Manager_Unlock(void)
    2222{
    23   if ( !_System_state_Is_before_multitasking( _System_state_Get() ) ) {
     23  if ( !_System_state_Is_before_initialization( _System_state_Get() ) ) {
    2424    _API_Mutex_Unlock( &drvmgr.lock );
    2525  }
Note: See TracChangeset for help on using the changeset viewer.