Task context switch happend between two same priority tasks with configUSE_TIME_SLICING=0

@richard-damon @rtel
Hi All,

Below explaination copied from
With configUSE_TIME_SLICING set to 0 a context switch should not occur
on a tick interrupt, but only when a higher priority task enters the
Ready state, or when an interrupt other than the tick interrupt requests
a context switch.

It mentioned a higher priority task enter the ready state, then a context switch will happen. It make sense to me. But now in my test if a equal priority task enter the ready state, the context switch happend as well. That’s the point I can‘t accept.

I think the related code is “if( pxTCB->uxPriority >= pxCurrentTCB->uxPriority )” in tasks.c file casue the context switch between two same priority task. Can I change the “>=” to “>”, what will the issues happened, potential risk if I do this change?

Thanks.
Best Regards.