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/src/linux/timerfd.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019年07月28日 23:26:38 -0400
committerRich Felker <dalias@aerifal.cx>2019年07月29日 12:31:20 -0400
commit1d4471b1fdfaa042ac48e9d8bcf00842dc529418 (patch)
treeb21b1f3f4ae1a1741b7cf532798ac5a229c4d3dd /src/linux/timerfd.c
parent244858553e7eaacd135de5c1cdb49489796b6d02 (diff)
downloadmusl-1d4471b1fdfaa042ac48e9d8bcf00842dc529418.tar.gz
sched_rr_get_interval: don't assume time_t is 32-bit on 32-bit archs
as with clock_getres, the time64 syscall for this is not necessary or useful, this time since scheduling timeslices are not on the order 68 years. if there's a 32-bit syscall, use it and expand the result into timespec; otherwise there is only one syscall and it does the right thing to store to timespec directly. on 64-bit archs, there is no change to the code after preprocessing.
Diffstat (limited to 'src/linux/timerfd.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年11月07日 14:50:28 +0000

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