This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFCv2] Add pthread_cond_timedwaitonclock_np
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Mike Crowe <mac at mcrowe dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 5 Aug 2015 21:50:47 +0000
- Subject: Re: [RFCv2] Add pthread_cond_timedwaitonclock_np
- Authentication-results: sourceware.org; auth=none
- References: <1438801204-14448-1-git-send-email-mac at mcrowe dot com>
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