why taskENTER_CRITICAL/taskEXIT_CRITICAL can not be used in ISR ?

rtel wrote on Wednesday, July 15, 2015:

The predecessor to the Cortex-M, the ARM7, is an example of an architecture port that would corrupt a task if it were to use taskENTER/EXIT_CRITICAL() in an interrupt - and yes I am only talking about in an interrupt. As per my previous email, it will corrupt the context of a task because it will corrupt the critical nesting count, which on architectures such as the ARM7 is part of the task’s context.