kernel/eka/drivers/debug/rmdebug/d_target_process.h
changeset 245 647ab20fee2e
parent 244 a77889bee936
child 252 0a40b8675b23
--- a/kernel/eka/drivers/debug/rmdebug/d_target_process.h	Thu Aug 12 11:55:14 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of the License "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Purpose: Kernel-side tracking of process state
-// 
-//
- 
-#ifndef D_TARGET_PROCESS_H
-#define D_TARGET_PROCESS_H
-
-#include "d_debug_agent.h"
-
-// Debug Process Tracker class
-class DTargetProcess : public DBase
-{
-public:
-	DTargetProcess();
-	~DTargetProcess();
-
-	static TInt Compare(const DTargetProcess& aFirst, const DTargetProcess& aSecond);
-
-	TInt SetProcessName(const TDesC8& aProcessName);
-
-	const TPtr8& ProcessName(void);
-
-	TInt AddAgent(const TUint64 aAgentId);
-
-	TInt RemoveAgent(TUint64 aAgentId);
-
-	DDebugAgent* operator[](TInt aIndex);
-
-	DDebugAgent* Agent(TUint64 aAgentId);
-
-	TInt AgentCount(void);
-	TInt ResumeThread(DThread* aThread);
-	TInt SuspendThread(DThread* aThread, TBool aFreezeThread=EFalse);
-	TBool CheckSuspended(DThread* aThread) const;
-	void FSWait();
-	TBool HasSuspendedThreads() const;
-	void NotifyEvent(const TDriverEventInfo& aEventInfo);
-
-private:
-	TInt ResumeFrozenThread(NThread& aThread);
-	TInt ResumeSuspendedThread(DThread* aThread);
-	TInt FreezeThread();
-	TInt DoSuspendThread(DThread* aThread);
-
-private:
-	TPtr8 iProcessName;
-
-	RPointerArray<DDebugAgent> iAgentList;
-
-	RArray<TUint64> iSuspendedThreads;
-
-	RPointerArray<NFastSemaphore> iFrozenThreadSemaphores;
-
-};
-
-#endif // D_TARGET_PROCESS_H
-