kerneltest/e32test/system/d_nanowait.cpp
changeset 4 56f325a607ea
parent 0 a41df078684a
--- a/kerneltest/e32test/system/d_nanowait.cpp	Mon Dec 21 16:14:42 2009 +0000
+++ b/kerneltest/e32test/system/d_nanowait.cpp	Wed Dec 23 11:43:31 2009 +0000
@@ -57,6 +57,7 @@
 	inline DThread* Client() { return iThread; }
 public:
 	DThread* iThread;
+	TDynamicDfcQue* iDfcQ;
 	};
 
 
@@ -96,6 +97,10 @@
 	// Allocate a kernel thread to run the DFC 
 	TInt r = Kern::DynamicDfcQCreate(gDfcQ, KDNanoWaitThreadPriority, KDNanoWaitThread);
 
+#ifdef CPU_AFFINITY_ANY
+	NKern::ThreadSetCpuAffinity((NThread*)(gDfcQ->iThread), KCpuAffinityAny);			
+#endif
+
 	if (r != KErrNone)
 		return r;