_ossScopedLock ( ossSLatch *latch ) : _slatch ( NULL ), _xlatch ( NULL ), _mode ( EXCLUSIVE ) { if ( latch ) { _slatch = latch ; _mode = EXCLUSIVE ; _xlatch = NULL ; _slatch->get () ; } }
_ossScopedLock ( ossSLatch *latch, OSS_LATCH_MODE mode) : _slatch ( NULL ), _xlatch ( NULL ), _mode ( EXCLUSIVE ) { if ( latch ) { _slatch = latch ; _mode = mode ; _xlatch = NULL ; if ( mode == EXCLUSIVE ) _slatch->get () ; else _slatch->get_shared () ; } }
void regSystemEDU ( EDU_TYPES edu, EDUID eduid ) { _mutex.get() ; _mapSystemEDUS[ edu ] = eduid ; _mutex.release () ; }