musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sched.h
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022年12月29日 21:21:32 -0600
committerRich Felker <dalias@aerifal.cx>2023年02月12日 18:03:24 -0500
commit7d756e1c04de6eb3f2b3d3e1141a218bb329fcfb (patch)
treebeaef48969dcb8c8fe74cef00a910e78402611cb /include/sched.h
parent07616721f1fa6cb215ffbef23441cae80412484f (diff)
downloadmusl-7d756e1c04de6eb3f2b3d3e1141a218bb329fcfb.tar.gz
dns: prefer monotonic clock for timeouts
Before this commit, DNS timeouts always used CLOCK_REALTIME, which could produce spurious timeouts or delays if wall time changed for whatever reason. Now we try CLOCK_MONOTONIC and only fall back to CLOCK_REALTIME when it is unavailable.
Diffstat (limited to 'include/sched.h')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月07日 01:51:57 +0000

AltStyle によって変換されたページ (->オリジナル) /