kerneltest/e32test/rm_debug/debug_targets/t_rmdebug_app.cpp
branchRCL_3
changeset 89 1df514389a47
parent 81 e7d2d738d3c2
child 258 880ff05ad710
equal deleted inserted replaced
87:2f92ad2dc5db 89:1df514389a47
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   350 	}
   350 	}
   351 
   351 
   352 
   352 
   353 TInt E32Main()
   353 TInt E32Main()
   354 	{
   354 	{
       
   355 		
       
   356 	RDebug::Printf("t_rmdebug_app tid=%d,pid=%d", I64LOW(RThread().Id().Id()), I64LOW(RProcess().Id().Id()) ) ;
   355 	// setup heap checking and clean up trap
   357 	// setup heap checking and clean up trap
   356 	__UHEAP_MARK;
   358 	__UHEAP_MARK;
   357 	CTrapCleanup* cleanup=CTrapCleanup::New();
   359 	CTrapCleanup* cleanup=CTrapCleanup::New();
   358 	RThread().SetPriority(EPriorityNormal);
   360 	RThread().SetPriority(EPriorityNormal);
   359 	RProcess::Rendezvous(KErrNone);
   361 	RProcess::Rendezvous(KErrNone);