Searched refs:mCurrentTask (Results 1 – 1 of 1) sorted by relevance
130 static struct Task *mCurrentTask; variable141 return mCurrentTask; in osGetCurrentTask()146 struct Task *old = mCurrentTask; in osSetCurrentTask()148 old = mCurrentTask; in osSetCurrentTask()149 if (atomicCmpXchg32bits((uint32_t*)&mCurrentTask, (uint32_t)old, (uint32_t)task)) in osSetCurrentTask()