Update contrib.
1 // Copyright (c) 1995-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\system\t_debug.cpp
20 const TUint KDefaultHeapSize=1000;
22 GLDEF_C TInt TestThread(TAny* anArg)
28 ((RSemaphore*)anArg)->Signal();
29 User::WaitForAnyRequest();
44 thread.Create(_L("Test Thread"),TestThread,KDefaultStackSize,KDefaultHeapSize,KDefaultHeapSize,&sem);
52 thread.Panic(_L("Test Panic"),0);
53 User::WaitForRequest(stat);