kerneltest/e32test/misc/d_ipccpy.cpp
changeset 31 56f325a607ea
parent 0 a41df078684a
equal deleted inserted replaced
15:4122176ea935 31:56f325a607ea
   122 //
   122 //
   123     {
   123     {
   124 	// Allocate a kernel thread to run the DFC 
   124 	// Allocate a kernel thread to run the DFC 
   125 	TInt r = Kern::DynamicDfcQCreate(iDfcQ, KIpcCpyThreadPriority, KIpcCpyThread);
   125 	TInt r = Kern::DynamicDfcQCreate(iDfcQ, KIpcCpyThreadPriority, KIpcCpyThread);
   126 
   126 
       
   127 #ifdef CPU_AFFINITY_ANY
       
   128 	NKern::ThreadSetCpuAffinity((NThread*)(iDfcQ->iThread), KCpuAffinityAny);			
       
   129 #endif
       
   130 
   127 	if (r != KErrNone)
   131 	if (r != KErrNone)
   128 		return r; 	
   132 		return r; 	
   129 
   133 
   130     return SetName(&KIpcCpyLddName);
   134     return SetName(&KIpcCpyLddName);
   131     }
   135     }