forked from len0rd/rockbox
Allow a clean shutdown to end in either power off or reboot. Add a new event SYS_REBOOT to signal it and sys_reboot() to trigger the event. SYS_REBOOT signals a reboot request and should be listened for alongside SYS_POWEROFF events. Change-Id: I99ba7fb5feed2bb5a0a40a274e8466ad74fe3a43 |
||
|---|---|---|
| .. | ||
| include | ||
| pthread | ||
| corelock.c | ||
| kernel-internal.h | ||
| mrsw_lock.c | ||
| mutex.c | ||
| queue.c | ||
| semaphore.c | ||
| thread-common.c | ||
| thread-internal.h | ||
| thread.c | ||
| tick.c | ||
| timeout.c | ||