This function re-enables task switching that has been disabled by avr_thread_disable().
The avr_thread_enable() and avr_thread_disable() functions keep track of how many times they’ve been called. Task switching will only be enabled when avr_thread_enable() has been called as many times as avr_thread_disable() was called in disabling task switching.
This function disables task switching. Task switching is re-enabled by calling avr_thread_enable().
The avr_thread_enable() and avr_thread_disable() functions keep track of how many times they’ve been called. Task switching will only be enabled when avr_thread_enable() has been called as many times as avr_thread_disable() was called in disabling task switching.
This structure holds data used by the AVR Threads Library to manage each thread. It should be treated as an opaque object.