The TeensyThreads API mentions sleeping for a certain amount of time, but how about sleeping until an interrupt wakes up the CPU? Does the library allow for that?
This is obviously relevant for battery powered applications where you want the CPU to sleep most of the time.
This is obviously relevant for battery powered applications where you want the CPU to sleep most of the time.