Demonstrating the priority inversion bug in FreeRTOS, and the priority inheritance implemented in FreeRTOS, while implementing another priority inheritance method.
A critical section function which can take the minimum priority of the interrupt that can preempt the critical section