glibc/sysdeps/mach
Samuel Thibault f071795d80 mach: Fix bogus negative return
One can be very unlucky to call time_now first just before a second switch,
and mach_msg sleep just a bit more enough for the second time_now call to
count one second too many (or even more if scheduling is really unlucky).

So we have to protect against returning a bogus negative value in such case.
2024-08-25 03:35:29 +02:00
..
htl Add pthread_getname_np and pthread_setname_np for Hurd 2024-07-16 09:21:52 +02:00
hurd hurd: Fix missing pthread_ compat symbol in libc 2024-08-01 23:58:51 +02:00
i386 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
include Define __mig_strlen to support dynamically sized strings in hurd RPCs 2023-05-01 02:24:04 +02:00
sys Installed-header hygiene (BZ#20366): obsolete BSD u_* types. 2016-09-23 08:43:56 -04:00
x86 mach: Drop SNARF_ARGS macro 2024-01-03 21:59:55 +01:00
x86_64 hurd: Set up the basic tree for x86_64-gnu 2023-02-12 16:12:06 +01:00
_strerror.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
adjtime.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
clock_gettime.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
clock_nanosleep.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
configure Add pthread_getname_np and pthread_setname_np for Hurd 2024-07-16 09:21:52 +02:00
configure.ac Add pthread_getname_np and pthread_setname_np for Hurd 2024-07-16 09:21:52 +02:00
getloadavg.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
getpagesize.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
getsysstats.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
libc-lock.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
libmachuser.abilist hurd: add base abilist files 2018-01-28 17:26:35 +01:00
mach_rpc.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makefile Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mprotect.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
msync.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
munmap.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pagecopy.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
readonly-area.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sched_yield.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sleep.c mach: Fix bogus negative return 2024-08-25 03:35:29 +02:00
strerror_l.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Subdirs * Makefile (subdir-target-args): New variable. 2006-02-28 07:11:04 +00:00
sysdep.h mach: Drop SNARF_ARGS macro 2024-01-03 21:59:55 +01:00
thread_state.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
usleep.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
xpg-strerror.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00