Update contrib.
1 // Copyright (c) 2008-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 "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.
22 #ifndef TMULTITHREAD_H
23 #define TMULTITHREAD_H
25 #include "tdirectgdi_test_step_base.h"
27 _LIT(KNameThreadOne, "CTMultiThread_ThreadOne");
28 _LIT(KNameThreadTwo, "CTMultiThread_ThreadTwo");
29 _LIT(KMultiThreadSemaphore, "CTMultiThread_Sempaphore");
31 class CTMultiThread : public CTDirectGdiStepBase
38 void TestDirectGdiMultipleThreadIndependenceL();
39 static TInt ThreadOneStart(TAny* aInfo);
40 static TInt ThreadTwoStart(TAny* aInfo);
42 void TestShareEGLImageBetweenSources_MultithreadedL();
43 static TInt ThreadEGLImageStart(TAny* aInfo);
46 virtual TVerdict doTestStepPreambleL();
47 virtual TVerdict doTestStepL();
48 // from CTDirectGdiStepBase
51 RThread iThread1, iThread2;
57 _LIT(KTMultiThreadStep,"TMultiThread");
59 #endif /*TMULTITHREAD_H*/