This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1005] putc() runs slower
- From: "gsmith at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 13 Feb 2006 15:26:35 -0000
- Subject: [Bug libc/1005] putc() runs slower
- References: <20050610213731.1005.uttamp@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From gsmith at us dot ibm dot com 2006-02-13 15:26 -------
(In reply to comment #4)
> This is why there is putc_unlocked.
We can't very well advise someone to substitute putc_unlocked() for putc().
Suppose some sap did this, and then years later the code gets reused in a
threaded application -- this well-intentioned advice could cause very hard-to-
find problems.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1005
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.