memspy/Driver/Kernel/Source/SubChannels/MemSpyDriverLogChanBase.cpp
changeset 34 7259cf1302ad
parent 0 a03f92240627
child 44 52e343bb8f80
equal deleted inserted replaced
33:0d72cc2a29a3 34:7259cf1302ad
   141     TBool openedOkay = EFalse;
   141     TBool openedOkay = EFalse;
   142     TInt r = KErrNone;
   142     TInt r = KErrNone;
   143     //
   143     //
   144 	if ( iTempObj )
   144 	if ( iTempObj )
   145         {
   145         {
   146 		NKern::LockSystem();
       
   147 		r = iTempObj->Open();
   146 		r = iTempObj->Open();
   148 	    TRACE( Kern::Printf("DMemSpyDriverLogChanBase::OpenTempObject() - open returned: %d", r ));
   147 	    TRACE( Kern::Printf("DMemSpyDriverLogChanBase::OpenTempObject() - open returned: %d", r ));
   149 		NKern::UnlockSystem();
       
   150 		//
   148 		//
   151         if  ( r == KErrNone )
   149         if  ( r == KErrNone )
   152             {
   150             {
   153             openedOkay = ETrue;
   151             openedOkay = ETrue;
   154             if  ( aType == EProcess )
   152             if  ( aType == EProcess )