memspy/Driver/Kernel/Source/SubChannels/MemSpyDriverLogChanBase.cpp
branchRCL_3
changeset 49 7fdc9a71d314
parent 44 52e343bb8f80
child 59 8ad140f3dd41
equal deleted inserted replaced
46:e26895079d7c 49:7fdc9a71d314
   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 )