This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] Add C11 threads.h support.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Juan Manuel Torres Palma <j dot m dot torrespalma at gmail dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Mon, 3 Aug 2015 17:03:11 +0000
- Subject: Re: [RFC] Add C11 threads.h support.
- Authentication-results: sourceware.org; auth=none
- References: <CAD82F-pXPRnsxLtT2pTADWkjsV=m6xA7cDuMX6J_bXW+c=HsVA at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506262111460 dot 28580 at digraph dot polyomino dot org dot uk> <CAD82F-qU-m19vK43WROzez29vUVREgRS_ohA45tJWwnXUsdkZg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506291421270 dot 7278 at digraph dot polyomino dot org dot uk> <CAD82F-rgZp7yJYym+9jL5uYszMoSjSY173+1=E_GhsNQwXEjXg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506301705380 dot 31171 at digraph dot polyomino dot org dot uk> <CAD82F-pTOmBmWk100nCQZHqtS+rhWScp5-dY5fdqF5F8XfP4Gw at mail dot gmail dot com>
On Sat, 1 Aug 2015, Juan Manuel Torres Palma wrote:
> + GLIBC_2.22 {
> + __mmap; __munmap; __mprotect;
> + }
> GLIBC_2.3 {
> # f*
> fgetxattr; flistxattr; fremovexattr; fsetxattr;
>
> I don't know if I'm actually allowed to do that, but I think it makes sense.
If a symbol only needs exporting for use in other shared libraries, not
for inline functions in public headers, functions from libc_nonshared.a
etc., then it should be exported at version GLIBC_PRIVATE.
> I think the whole patch set is ready for C11 threads.h (Including
> manual and tests), but I don't expect it to make it for version 2.22
> since it's frozen. Should I just send my patches here for a deep
> review?
Yes.
--
Joseph S. Myers
joseph@codesourcery.com