horrible disk thorughput on itanium

Ulrich Drepper drepper@redhat.com
Fri Dec 7 13:55:00 GMT 2001


Andreas Jaeger <aj@suse.de> writes:

> This should be doable.  We could easily implement libio/putc.c as
> follows:

That's stupid.  Either you use putc_unlocked() as any sane person
should in non-threaded code which then expands inline or you use
__fsetlocking(FSETLOCKING_BYCALLER).  Just because people cannot
program correctly doesn't require the implementation to fix their
problems.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-alpha mailing list