First public contribution.
1 // Copyright (c) 1997-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_busy.cpp
20 LOCAL_D RTest test(_L("BUSY"));
22 LOCAL_D TInt Counter=0;
24 GLDEF_C TInt E32Main()
27 RThread().SetPriority(EPriorityAbsoluteHigh);
28 CConsoleBase* console=test.Console();
32 test.Printf(_L("\nPeriod %dus"),period);
35 User::AfterHighRes(period);
42 if (ks!=KRequestPending)
44 TInt k=(TInt)console->KeyCode();
53 test.Printf(_L("\nPeriod %dus"),period);