0
|
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 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".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// e32test\system\t_atomic.cia
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
#include <u32exec.h>
|
|
19 |
#include "t_atomic.h"
|
|
20 |
|
|
21 |
__NAKED__ TInt RTestAtomic::GetThreadInfo(TPerThread&)
|
|
22 |
{
|
|
23 |
SLOW_EXEC1(0);
|
|
24 |
}
|
|
25 |
|
|
26 |
__NAKED__ TInt RTestAtomic::SetThreadInfo(const TPerThread&)
|
|
27 |
{
|
|
28 |
SLOW_EXEC1(1);
|
|
29 |
}
|
|
30 |
|
|
31 |
__NAKED__ TInt RTestAtomic::AtomicAction(TAtomicAction&)
|
|
32 |
{
|
|
33 |
SLOW_EXEC1(2);
|
|
34 |
}
|
|
35 |
|
|
36 |
__NAKED__ TInt RTestAtomic::RestoreExecTable()
|
|
37 |
{
|
|
38 |
SLOW_EXEC1(3);
|
|
39 |
}
|
|
40 |
|
|
41 |
|