[PATCH] nptl: Document the reason why __kind in pthread_mutex_t is part of the ABI
Florian Weimer
fweimer@redhat.com
Mon Nov 7 13:47:00 GMT 2016
I started composing a lengthy email about why we should align
pthread_mutex_t layout on i386 and x86_64 (because cross-process
compatibility is of more practical importance these days than
LinuxThreads backwards compatibility). But then I realized that we
don't have this choice due to the static initializers, which have __kind
at different offsets.
The attached patch makes this more explicit in the relevant header files.
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mutex-kind.patch
Type: text/x-patch
Size: 9261 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161107/dd5ed91b/attachment.bin>
More information about the Libc-alpha
mailing list