equal
deleted
inserted
replaced
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); |