Update contrib.
1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32test\misc\t_death.cpp
20 GLDEF_C TInt E32Main()
22 RThread().SetPriority(EPriorityAbsoluteHigh);
26 User::Panic(_L("T_DEATH 0"),r);
27 // RThread().SetSystem(ETrue);
33 User::WaitForRequest(s);
36 TFullName fn=t.FullName();
37 TExitType exit=t.ExitType();
39 exitCat=t.ExitCategory();
40 TInt exitReason=t.ExitReason();
41 RDebug::Print(_L("Thread %S Exited %d,%d,%S"),&fn,exit,exitReason,&exitCat);
42 // if (exit==EExitPanic)
44 // *(TInt*)0xdead0000=0;