Arduino RTOS
This
resumeTask
code example is cobbled together from the following sources:
code from Phillip Stevens
define two tasks in FreeRTOS
code from Bill Greiman
Disable and Enable interrupts
Arduino Reference
Example with interrupts
ExploreEmbedded
09-ResumingTaskFromISR
-Michael Weeks, April 2019