kerneltest/e32test/realtime/d_latncy.cpp
changeset 4 56f325a607ea
parent 0 a41df078684a
child 22 2f92ad2dc5db
--- a/kerneltest/e32test/realtime/d_latncy.cpp	Mon Dec 21 16:14:42 2009 +0000
+++ b/kerneltest/e32test/realtime/d_latncy.cpp	Wed Dec 23 11:43:31 2009 +0000
@@ -245,7 +245,11 @@
 	TInt r = Kern::DynamicDfcQCreate(iRtDfcQ, KNumPriorities-1,KThreadName);
 
 	if (r != KErrNone)
-		return r; 	
+		return r;
+	
+#ifdef CPU_AFFINITY_ANY
+	NKern::ThreadSetCpuAffinity((NThread*)(iRtDfcQ->iThread), KCpuAffinityAny);			
+#endif
 
 	iMsDfc.SetDfcQ(iRtDfcQ);
 	iClient=&Kern::CurrentThread();