summaryrefslogtreecommitdiff
path: root/pthread
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-02-15 01:51:28 +0100
committerRichard Braun <rbraun@sceen.net>2013-02-15 01:51:28 +0100
commite7f324f243f776b2729403c55c508d7ceb7b6a01 (patch)
tree8d141fa8c4448c1e7c55938c29bcb3a09f90d515 /pthread
parent5ab516af0779a7fd74ad893c7c67960df6ede065 (diff)
Add pthread_hurd_cond_timedwait_np
This new Hurd-specific function is meant to allow Hurd servers to wait for events during a bounded period of time. * Makefile (libpthread-routines): Add pt-hurd-cond-timedwait. * Versions: Include pthread_hurd_cond_timedwait_np in version GLIBC_2.17 of libpthread. * sysdeps/mach/hurd/bits/pthread-np.h (pthread_hurd_cond_timedwait_np): New declaration. * sysdeps/mach/hurd/pt-hurd-cond-timedwait.c: New file that provides __pthread_hurd_cond_timedwait_internal and __pthread_hurd_cond_timedwait_np. * sysdeps/mach/hurd/pt-hurd-cond-wait.c (__pthread_hurd_cond_wait_np): Rewrite as a call to __pthread_hurd_cond_timedwait_internal with no timeout.
Diffstat (limited to 'pthread')
0 files changed, 0 insertions, 0 deletions