westmorelandeng wrote on Wednesday, September 19, 2018:
Hello All,
I need to be able to detect (will be assembly as I have to put this into the tick ISR) the task status - what will make this ‘fast’ is that I only need to know if:
if( pxTCB == pxCurrentTCB )
{
/* The task calling this function is querying its own state. */
eReturn = eRunning;
}
that’s true and I see that’s in the eTaskState funtion.
I guess I can start by implementing the assembly version of eTaskState up to that point - but I was wondering if there is any other quicker way to do this and if there’s some other function/macro someplace that does that.
Thanks!
John W.