mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
49481dd3fb
The 'Timer::Session::trigger_periodic' RPC function used to accept 0 as a way to de-schedule the periodic processing. Several components such as nitpicker relied on this special case. In "timeout: rework timeout framework", the value of zero was silently clamped to 1, which has the opposite effect: triggering signals at the maximum rate. This results in a visible effect in Sculpt where the leitzentrale-nitpicker instance produces a constant load of 2% CPU time. This patch restores the original timer semantics by - Documenting it in timer_session.h, - Handling the case explicitly in the timer implementation, and - Replacing the silent clamping of the unexpected value 0 passed to the timeout framework by a diagnostic error message. Issue #3884 |
||
---|---|---|
.. | ||
base | ||
cpu | ||
cpu_session | ||
cpu_thread | ||
dataspace | ||
deprecated | ||
drivers | ||
io_mem_session | ||
io_port_session | ||
irq_session | ||
log_session | ||
parent | ||
pd_session | ||
region_map | ||
rm_session | ||
rom_session | ||
root | ||
session | ||
spec | ||
timer | ||
timer_session | ||
trace_session | ||
util | ||
vm_session | ||
README |
This directory contains include files of interfaces that are exported by components to be used by other components. Each subdirectory corresponds to the component exporting the interface.