Searched refs:mCurrentTask (Results 1 – 1 of 1) sorted by relevance
60 static struct Task *mCurrentTask; variable71 return mCurrentTask; in osGetCurrentTask()76 struct Task *old = mCurrentTask; in osSetCurrentTask()78 old = mCurrentTask; in osSetCurrentTask()79 if (atomicCmpXchgPtr((uintptr_t*)&mCurrentTask, (uintptr_t)old, (uintptr_t)task)) { in osSetCurrentTask()