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: TSX lock elision for glibc v12


> -  PTHREAD_MUTEX_KIND_MASK_NP = 3,
> +  PTHREAD_MUTEX_KIND_MASK_NP = 7,
> +  /* New internal alias for PTHREAD_MUTEX_DEFAULT-like mutexes.  */
> +  PTHREAD_MUTEX_DEFAULT_INT_NP = PTHREAD_MUTEX_TIMED_NP,
> +  /* New internal type used for PTHREAD_MUTEX_NORMAL-like mutexes.  */
> +  PTHREAD_MUTEX_NORMAL_INT_NP = 5,

Why internal? It should be external right?

Internally the existing don't elide flag should be good enough.

-Andi


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