genode/repos/base/src
Norman Feske 49481dd3fb timer: restore semantics of periodic timeout 0
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
2021-04-20 12:03:03 +02:00
..
core mk: link core to library archive instead of .o file 2021-02-23 12:17:04 +01:00
include expanding_pd_session: remove cap warning message 2021-03-12 12:01:39 +01:00
ld genode_dyn.ld: do not emit PHDR segment 2021-02-23 12:02:42 +01:00
lib timer: restore semantics of periodic timeout 0 2021-04-20 12:03:03 +02:00
test Measure TSC variance of CPUs in test-smp 2021-02-23 12:02:42 +01:00
timer timer: restore semantics of periodic timeout 0 2021-04-20 12:03:03 +02:00
README Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00

This directory contains all source codes.