glibc/sysdeps/mach
Zhaoming Luo 3782ffaf3e mach: Add CLOCK_MONOTONIC case in clock_gettime()
The Mach RPC host_get_uptime64() is implemented. It returns the elapsed time
value since bootup. See

https://git.savannah.gnu.org/cgit/hurd/gnumach.git/commit/?id=fc494bfe3fb6363e1077dc035eb119970d84a9d1

In this patch, the RPC is used to implement the monotonic clock for
mach.

* config.h.in: Add HAVE_HOST_GET_UPTIME64 config entry
* sysdeps/mach/clock_gettime.c: Add CLOCK_MONOTONIC case
* sysdeps/mach/configure: Check the existence of host_get_uptime64 RPC
* sysdeps/mach/configure.ac: Check the existence of host_get_uptime64 RPC

Message-ID: <20250106043907.1046-1-zhmingluo@163.com>
2025-01-12 22:47:00 +01:00
..
htl Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurd hurd: Mark more memory-hungry tests as unsupported 2025-01-12 16:06:00 +01:00
i386 Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
include
sys
x86 Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
x86_64
Makefile Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Subdirs
_strerror.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
adjtime.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
clock_gettime.c mach: Add CLOCK_MONOTONIC case in clock_gettime() 2025-01-12 22:47:00 +01:00
clock_nanosleep.c mach: Make clock_nanosleep also check tv_sec 2025-01-07 01:24:21 +01:00
configure mach: Add CLOCK_MONOTONIC case in clock_gettime() 2025-01-12 22:47:00 +01:00
configure.ac mach: Add CLOCK_MONOTONIC case in clock_gettime() 2025-01-12 22:47:00 +01:00
getloadavg.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
getpagesize.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
getsysstats.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc-lock.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libmachuser.abilist
mach_rpc.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mprotect.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
msync.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
munmap.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
pagecopy.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
readonly-area.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sched_yield.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sleep.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
strerror_l.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sysdep.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
thread_state.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
usleep.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
xpg-strerror.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00