diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-07-28 23:26:38 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-07-29 12:31:20 -0400 |
commit | 1d4471b1fdfaa042ac48e9d8bcf00842dc529418 (patch) | |
tree | b21b1f3f4ae1a1741b7cf532798ac5a229c4d3dd /src/fenv/mipsn32 | |
parent | 244858553e7eaacd135de5c1cdb49489796b6d02 (diff) | |
download | musl-1d4471b1fdfaa042ac48e9d8bcf00842dc529418.tar.gz musl-1d4471b1fdfaa042ac48e9d8bcf00842dc529418.tar.xz musl-1d4471b1fdfaa042ac48e9d8bcf00842dc529418.zip |
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/fenv/mipsn32')
0 files changed, 0 insertions, 0 deletions