Hey, On 07/12/2016 07:08 PM, 신익희 wrote: > in this condition, when scheduler wake up from low power mode and > restart schedule? > > and how to know scheduler when wake up itself?
The system gets woken up by external interrupts, e.g., a timer, gpio-pin. That powers up the MCU and executes the corresponding interrupt handler. Should that handler do something that wakes a thread (calling thread_wakeup(), release a mutex, send a message or set a thread_flag), that triggers the scheduler and then leads to a context switch into the thread(s). The scheduler never wakes up itself. Kaspar _______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel