memspy/Driver/Kernel/Source/SubChannels/MemSpyDriverLogChanBase.cpp
branchRCL_3
changeset 21 52e343bb8f80
parent 20 ca8a1b6995f6
equal deleted inserted replaced
20:ca8a1b6995f6 21:52e343bb8f80
   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();
   146 		r = iTempObj->Open();
   147 		r = iTempObj->Open();
   147 	    TRACE( Kern::Printf("DMemSpyDriverLogChanBase::OpenTempObject() - open returned: %d", r ));
   148 	    TRACE( Kern::Printf("DMemSpyDriverLogChanBase::OpenTempObject() - open returned: %d", r ));
       
   149 		NKern::UnlockSystem();
   148 		//
   150 		//
   149         if  ( r == KErrNone )
   151         if  ( r == KErrNone )
   150             {
   152             {
   151             openedOkay = ETrue;
   153             openedOkay = ETrue;
   152             if  ( aType == EProcess )
   154             if  ( aType == EProcess )