mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 00:11:07 +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 |
||
---|---|---|
.. | ||
epit | ||
fiasco | ||
gpt | ||
include | ||
periodic | ||
pit | ||
main.cc | ||
target.inc |