summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Hindborg <a.hindborg@kernel.org>2026-02-19 12:57:45 +0100
committerAndreas Hindborg <a.hindborg@kernel.org>2026-03-23 08:31:00 +0100
commitddb1444d3335129ae87d9796ab1debf41c0ee51b (patch)
tree7e0916d05af45430051dea864cc5cb133233bc42 /lib
parent67b598db7ef107d80091c4c957694b9a2feffa4c (diff)
downloadlwn-ddb1444d3335129ae87d9796ab1debf41c0ee51b.tar.gz
lwn-ddb1444d3335129ae87d9796ab1debf41c0ee51b.zip
hrtimer: add usage examples to documentation
Add documentation examples showing various ways to use hrtimers: - Box-allocated timers with shared state in Arc. - Arc-allocated timers. - Stack-based timers for scoped usage. - Mutable stack-based timers with shared state. Tested-by: Daniel Almeida <daniel.almeida@collabora.com> Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://msgid.link/20260219-hrtimer-examples-v6-19-rc1-v2-1-810cc06ca9f6@kernel.org Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions