This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] nptl: Reinstate pthread_timedjoin_np as a cancellation point (BZ#24215)


On Feb 14 2019, Adhemerval Zanella <adhemerval.zanella@linaro.org> wrote:

> diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c
> index 3f9cf1674b..f719613268 100644
> --- a/nptl/pthread_join_common.c
> +++ b/nptl/pthread_join_common.c
> @@ -120,6 +120,10 @@ __pthread_timedjoin_ex (pthread_t threadid, void **thread_return,
>      /* There is already somebody waiting for the thread.  */
>      return EINVAL;
>  
> +  /* BLOCK waits either indefinitely or based on an absolute time.  POSIX also
> +     states a cancellation points shall occur for pthread_join, and we use the

s/points/point/

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]