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