[PATCH v3 1/3] Tunables: Add tunables of spin count for pthread adaptive spin mutex
Florian Weimer
fweimer@redhat.com
Thu Jun 7 13:09:00 GMT 2018
On 05/23/2018 11:22 AM, Kemi Wang wrote:
> +#ifdef SHARED
> +# define INIT_SECTION ".init_array"
> +#else
> +# define INIT_SECTION ".preinit_array"
> +#endif
> +
> +void (*const __pthread_mutex_tunables_init_array []) (int, char **, char **)
> + __attribute__ ((section (INIT_SECTION), aligned (sizeof (void *)))) =
> +{
> + &mutex_tunables_init
> +};
Did you try to get rid of this?
Thanks,
Florian
More information about the Libc-alpha
mailing list