[PATCH 1/2] Introduce pthread_self_t

Florian Weimer fweimer@redhat.com
Thu Oct 8 09:12:00 GMT 2015


On 10/08/2015 05:58 AM, Richard Henderson wrote:
> --- a/sysdeps/ia64/nptl/tls.h
> +++ b/sysdeps/ia64/nptl/tls.h
> @@ -46,7 +46,8 @@ typedef struct
>    void *__private;
>  } tcbhead_t;
>  
> -register struct pthread *__thread_self __asm__("r13");
> +typedef struct pthread pthread_self_t;
> +register pthread_self_t *__thread_self __asm__("r13");

I'm not sure if this hunk is philosophically correct because the object
pointed to by __thread_self has to be within the same address space.  It
does not make a functional difference, of course.

The rest looks good.

This needs some sort of a changelog entry.  Listing only the changed
files is fine with me (but others may disagree and request a full
changelog).

Florian



More information about the Libc-alpha mailing list