1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #20818 from mcr/native-timer-doc

doc: note that timer_settime() comes from librt on some systems
This commit is contained in:
Marian Buschsieweke 2024-08-19 09:46:02 +00:00 committed by GitHub
commit 897fa6ba1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,6 +16,8 @@
* @brief Native CPU periph/timer.h implementation
*
* Uses POSIX realtime clock and POSIX itimer to mimic hardware.
* This is done with the timer_settime(3), timer_create(3) interfaces, which are
* sometimes found only in the -lrt library, and not in glibc.
*
* This is based on native's hwtimer implementation by Ludwig Knüpfer.
* I removed the multiplexing, as ztimer does the same. (kaspar)