|
PebbleOS v4.47.0-512-g5285d4236
|
Threads, synchronization, interrupts and scheduling (pbl/kernel).
More...
Modules | |
| Assertions | |
| Checks that raise a fatal error when an expression is false. | |
| Memory barriers | |
| Ordering of memory and device accesses as other bus masters see them. | |
| Cache maintenance | |
| Coherency of the CPU caches with memory other bus masters or the instruction fetch see. | |
| Compiler abstraction | |
| Attributes and builtins, independent of the compiler. | |
| Introspection | |
| Thread introspection for core dumps, fault handling, the task watchdog and telemetry. | |
| Delays | |
| Waiting for a minimum amount of time, sleeping or spinning. | |
| Fatal errors | |
| Stop the system on an unrecoverable error. | |
| Heaps | |
| First-fit heaps over caller-provided memory regions. | |
| Idle states | |
| Low-power states the CPU idles in, provided by the SoC. | |
| Boot | |
| SoC hook in the kernel's reset path. | |
| Interrupts | |
| Interrupt locking and build-time interrupt binding. | |
| Kernel heap | |
| Allocations from the kernel heap. | |
| MMIO | |
| Memory-mapped I/O register access. | |
| Memory protection | |
| Memory protection regions. | |
| Message queues | |
| Fixed-size message rings that copy messages in and out. | |
| Mutexes | |
| Recursive mutexes with priority inheritance. | |
| Poll groups | |
| Waiting on several message queues at once. | |
| Plain text for the system's own messages, such as the boot banner. | |
| Reboot and power-off | |
| Restart or power off the system, with handlers to shut down in order. | |
| Scheduler | |
| Scheduler start and preemption control. | |
| Scratch heap | |
| Kernel heap for short-lived data. | |
| Code and data placement | |
| Placement of code and data in special sections. | |
| Semaphores | |
| Counting semaphores; a binary semaphore has limit 1. | |
| Syscalls | |
| Calls from unprivileged threads into privileged code. | |
| Threads | |
| Thread creation, lifecycle and per-thread state. | |
| Uptime, wall clock and cycles | |
| Monotonic time since the scheduler started, the wall clock, and the CPU cycle counter. | |
| Timers | |
| One-shot software timers expiring in the tick interrupt. | |
| Time and priorities | |
| Ticks, timeouts and thread priorities shared by every kernel object. | |
| Work queues | |
| Run functions on a kernel thread, deferred from interrupts or other threads. | |
Threads, synchronization, interrupts and scheduling (pbl/kernel).