equal
deleted
inserted
replaced
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 } |