[RFCv2] Add pthread_cond_timedwaitonclock_np
Joseph Myers
joseph@codesourcery.com
Wed Aug 5 21:50:00 GMT 2015
On Wed, 5 Aug 2015, Mike Crowe wrote:
> diff --git a/nptl/pthread_cond_timedwait.c b/nptl/pthread_cond_timedwait.c
> index 10b0a61..cdca8e0 100644
> --- a/nptl/pthread_cond_timedwait.c
> +++ b/nptl/pthread_cond_timedwait.c
> @@ -49,8 +49,9 @@ struct _condvar_cleanup_buffer
> };
>
> int
> -__pthread_cond_timedwait (pthread_cond_t *cond, pthread_mutex_t *mutex,
> - const struct timespec *abstime)
> +pthread_cond_timedwaitonclock_np (pthread_cond_t *cond, pthread_mutex_t *mutex,
> + clockid_t clockid,
> + const struct timespec *abstime)
I would have expected adding a strong definition of a non-POSIX function
to the source file defining a POSIX function to cause linknamespace test
failures - how was this patch tested?
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list