kernel/eka/include/drivers/rm_debug_eventhandler.inl
author hgs
Mon, 12 Jul 2010 14:24:01 +0100
changeset 202 9aca3be14c27
parent 189 a5496987b1da
permissions -rw-r--r--
201027_08
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
189
a5496987b1da 201025_04
hgs
parents:
diff changeset
     1
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
a5496987b1da 201025_04
hgs
parents:
diff changeset
     2
// All rights reserved.
a5496987b1da 201025_04
hgs
parents:
diff changeset
     3
// This component and the accompanying materials are made available
a5496987b1da 201025_04
hgs
parents:
diff changeset
     4
// under the terms of the License "Eclipse Public License v1.0"
a5496987b1da 201025_04
hgs
parents:
diff changeset
     5
// which accompanies this distribution, and is available
a5496987b1da 201025_04
hgs
parents:
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
a5496987b1da 201025_04
hgs
parents:
diff changeset
     7
//
a5496987b1da 201025_04
hgs
parents:
diff changeset
     8
// Initial Contributors:
a5496987b1da 201025_04
hgs
parents:
diff changeset
     9
// Nokia Corporation - initial contribution.
a5496987b1da 201025_04
hgs
parents:
diff changeset
    10
//
a5496987b1da 201025_04
hgs
parents:
diff changeset
    11
// Contributors:
a5496987b1da 201025_04
hgs
parents:
diff changeset
    12
//
a5496987b1da 201025_04
hgs
parents:
diff changeset
    13
// Description:
a5496987b1da 201025_04
hgs
parents:
diff changeset
    14
// Event handler and container for all objects being tracked.
a5496987b1da 201025_04
hgs
parents:
diff changeset
    15
//
a5496987b1da 201025_04
hgs
parents:
diff changeset
    16
a5496987b1da 201025_04
hgs
parents:
diff changeset
    17
	
a5496987b1da 201025_04
hgs
parents:
diff changeset
    18
inline void DRM_DebugEventHandler::LockDataAccess()
a5496987b1da 201025_04
hgs
parents:
diff changeset
    19
    {
a5496987b1da 201025_04
hgs
parents:
diff changeset
    20
    Kern::SemaphoreWait(*iProtectionLock);
a5496987b1da 201025_04
hgs
parents:
diff changeset
    21
    }
a5496987b1da 201025_04
hgs
parents:
diff changeset
    22
a5496987b1da 201025_04
hgs
parents:
diff changeset
    23
inline void DRM_DebugEventHandler::ReleaseDataAccess()
a5496987b1da 201025_04
hgs
parents:
diff changeset
    24
    {
a5496987b1da 201025_04
hgs
parents:
diff changeset
    25
    Kern::SemaphoreSignal(*iProtectionLock);
a5496987b1da 201025_04
hgs
parents:
diff changeset
    26
    }
a5496987b1da 201025_04
hgs
parents:
diff changeset
    27