kerneltest/e32test/system/d_mstim.cpp
changeset 31 56f325a607ea
parent 0 a41df078684a
child 33 0173bcd7697c
equal deleted inserted replaced
15:4122176ea935 31:56f325a607ea
   713 //
   713 //
   714     {
   714     {
   715 	// Allocate a kernel thread to run the DFC 
   715 	// Allocate a kernel thread to run the DFC 
   716 	TInt r = Kern::DynamicDfcQCreate(gDfcQ, KDMsTimThreadPriority, KDMsTimThread);
   716 	TInt r = Kern::DynamicDfcQCreate(gDfcQ, KDMsTimThreadPriority, KDMsTimThread);
   717 
   717 
       
   718 #ifdef CPU_AFFINITY_ANY
       
   719 			NKern::ThreadSetCpuAffinity((NThread*)(gDfcQ->iThread), KCpuAffinityAny);			
       
   720 #endif
       
   721 
   718 	if (r != KErrNone)
   722 	if (r != KErrNone)
   719 		return r; 	
   723 		return r; 	
   720 
   724 
   721     return SetName(&KMsTimerLddName);
   725     return SetName(&KMsTimerLddName);
   722     }
   726     }