equal
deleted
inserted
replaced
240 iLastCpu = (TUint8)ss.iCpuNum; |
240 iLastCpu = (TUint8)ss.iCpuNum; |
241 iReady = (TUint8)(iLastCpu | EReadyOffset); |
241 iReady = (TUint8)(iLastCpu | EReadyOffset); |
242 iCurrent = iReady; |
242 iCurrent = iReady; |
243 iCpuAffinity = iLastCpu; |
243 iCpuAffinity = iLastCpu; |
244 iEventState = (iLastCpu<<EEventCpuShift) | (iLastCpu<<EThreadCpuShift); |
244 iEventState = (iLastCpu<<EEventCpuShift) | (iLastCpu<<EThreadCpuShift); |
245 ss.SSAddEntry(this); |
245 i_NThread_Initial = TRUE; // must set as initial before |
246 i_NThread_Initial = TRUE; |
246 ss.SSAddEntry(this); // adding to subsched list |
247 iACount = 1; |
247 iACount = 1; |
248 ss.iInitialThread = (NThread*)this; |
248 ss.iInitialThread = (NThread*)this; |
249 NKern::Unlock(); // now that current thread is defined |
249 NKern::Unlock(); // now that current thread is defined |
250 } |
250 } |
251 else |
251 else |