Beispiel #1
0
 ~_ossScopedLock ()
 {
    if ( _slatch )
       ( _mode == EXCLUSIVE ) ? _slatch->release() :
                                _slatch->release_shared() ;
    else if ( _xlatch )
       _xlatch->release () ;
 }
Beispiel #2
0
 void regSystemEDU ( EDU_TYPES edu, EDUID eduid )
 {
     _mutex.get() ;
     _mapSystemEDUS[ edu ] = eduid ;
     _mutex.release () ;
 }