diff options
| author | Andreas Hindborg <a.hindborg@kernel.org> | 2026-02-19 12:57:45 +0100 |
|---|---|---|
| committer | Andreas Hindborg <a.hindborg@kernel.org> | 2026-03-23 08:31:00 +0100 |
| commit | ddb1444d3335129ae87d9796ab1debf41c0ee51b (patch) | |
| tree | 7e0916d05af45430051dea864cc5cb133233bc42 /lib | |
| parent | 67b598db7ef107d80091c4c957694b9a2feffa4c (diff) | |
| download | lwn-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
