Expand description
Scheduler timer, deferred work and reclamation services.
Structs§
- Claimed
Scheduler Deadlines - Scheduler-owned deadlines claimed by one physical clockevent firing.
- Deferred
Task Work Batch - One bounded pass performed by the dedicated task-work service thread.
- Expired
Task Deadline - Allocation-free task expiration copied into caller-owned IRQ storage.
- Owned
Thread Reap Error - Failure returned by
TaskSystem::reap_thread_handle. - Scheduler
Tick CpuTime - IRQ-safe tick-sampled user/system CPU time for one scheduler thread.
- Scheduler
Tick CpuTime Snapshot - Coherent-enough raw totals from independent monotonic tick counters.
- Scheduler
Tick Gate - Shared process or subsystem interest in scheduler-tick task work.
- Scheduler
Tick Stamp - Opaque owner-rq sample required to publish one periodic scheduler tick.
- Task
Clock Event Outcome - Bounded task-clockevent result consumed by the runtime clockevent owner.
- Task
Deadline Expire Batch - Result of one bounded timer-IRQ pass.
- Task
Deadline Expire Request - Bounded timer-IRQ expiration request.
- Task
Deadline Node - Task-deadline node embedded in one generation-checked scheduler thread.
- Task
Deadline Queue - Fixed-capacity value heap created during CPU-local initialization.
- Task
Deadline Registration - Move-only ownership of one physical task-deadline queue registration.
- Task
Deadline Token - Node identity and generation identifying one task-deadline arm operation.
Enums§
- Scheduler
Tick Mode - Execution mode sampled by the periodic scheduler tick.
- Scheduler
Tick Work Disposition - Task-context callback selected by one scheduler-tick publication.
- Task
Deadline Error - Failure returned while arming a fixed-capacity timer.
- Task
Deadline Kind - Scheduler-owned meaning of one task deadline.
Functions§
- on_
clock_ event - Performs one bounded task-clockevent pass without allocation or callbacks.
- publish_
scheduler_ tick - Samples CPU time and publishes extension work for a periodic scheduler tick
already accounted by
on_clock_event. - start_
current_ ktimer_ service - Creates the current CPU’s shutdown-lifetime soft-timer worker.
- start_
deferred_ task_ work_ service - Creates the shutdown-lifetime service thread for callbacks and reclamation.
Type Aliases§
- Scheduler
Tick Task Work - Scheduler-tick task-work callback.