aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_mutex_timedlock.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-28 15:08:34 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-28 15:42:49 -0400
commit1334e3668034615b23793a20277aabc441fee718 (patch)
treebc8f76764679a601247565366afe879887d87333 /src/thread/pthread_mutex_timedlock.c
parentimplement settimeofday in terms of clock_settime, not old syscall (diff)
downloadgrovel-1334e3668034615b23793a20277aabc441fee718.tar.gz
grovel-1334e3668034615b23793a20277aabc441fee718.tar.xz
clock_nanosleep: add time64 syscall support, decouple 32-bit time_t
time64 syscall is used only if it's the only one defined for the arch, or if the requested time does not fit in 32 bits. on current 32-bit archs where time_t is a 32-bit type, this makes it statically unreachable. on 64-bit archs, there is no change to the code after preprocessing. on current 32-bit archs, the time is moved through an intermediate copy to remove the assumption that time_t is a 32-bit type.
Diffstat (limited to 'src/thread/pthread_mutex_timedlock.c')
0 files changed, 0 insertions, 0 deletions