about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/mtx_timedlock.c
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2020-10-29 14:19:25 +0100
committerLukasz Majewski <lukma@denx.de>2020-11-14 22:09:43 +0100
commit1f1a4847a404e26b5f729dc14a92aa94c87a6063 (patch)
tree9616ced3bc636e3f34a5dac8f6a2a8058ee400bd /sysdeps/unix/sysv/linux/mtx_timedlock.c
parent839fa6bc8ab469a1e7dd6be4cf95322aa518fcbc (diff)
downloadglibc-1f1a4847a404e26b5f729dc14a92aa94c87a6063.tar.gz
glibc-1f1a4847a404e26b5f729dc14a92aa94c87a6063.tar.xz
glibc-1f1a4847a404e26b5f729dc14a92aa94c87a6063.zip
y2038: Convert cnd_timedwait to support 64 bit time
The cnd_timedwait function has been converted to support 64 bit time.
It was also necessary to provide Linux specific copy of it to avoid
problems on i686-gnu (i.e. HURD) port, which is not providing
pthread_cond_timedwait() supporting 64 bit time.

Moreover, a linux specific copy of thrd_priv.h header file has been
added as well.

The cnd_timedwait is a wrapper on POSIX threads to provide C11 standard
threads interface. It directly calls __pthread_cond_timedwait64().

Build tests:
./src/scripts/build-many-glibcs.py glibcs

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/mtx_timedlock.c')
0 files changed, 0 insertions, 0 deletions