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

Andreas Schwab schwab@suse.de
Thu Feb 14 17:18:00 GMT 2019


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."



More information about the Libc-alpha mailing list