This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Implement C11 annex K?
- From: Florian Weimer <fweimer at redhat dot com>
- To: Rich Felker <dalias at libc dot org>, Paul Eggert <eggert at cs dot ucla dot edu>
- Cc: Russ Allbery <eagle at eyrie dot org>, libc-alpha at sourceware dot org
- Date: Fri, 15 Aug 2014 09:51:11 +0200
- Subject: Re: Implement C11 annex K?
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1408132054090 dot 16622 at digraph dot polyomino dot org dot uk> <53EBD7D9 dot 1040008 at cs dot ucla dot edu> <20140813213520 dot GQ12888 at brightrain dot aerifal dot cx> <53EBEACD dot 3070000 at googlemail dot com> <87k36cc559 dot fsf at windlord dot stanford dot edu> <20140814022501 dot GT12888 at brightrain dot aerifal dot cx> <87r40jbq2p dot fsf at windlord dot stanford dot edu> <20140814054610 dot GV12888 at brightrain dot aerifal dot cx> <87ha1fbnrp dot fsf at windlord dot stanford dot edu> <53ECD392 dot 30904 at cs dot ucla dot edu> <20140814174616 dot GH12888 at brightrain dot aerifal dot cx>
On 08/14/2014 07:46 PM, Rich Felker wrote:
I think the synchronization overhead is a bit heavier than desired
(POSIX makes it difficult or impossible to implement open_memstream
without putting the memstream in the global open file list)
This part could be addressed partially by having per-CPU open file
lists. You still need synchronization, but it's less to contend with
other threads using the same functionality anymore.
--
Florian Weimer / Red Hat Product Security