lkml.org 
[lkml]   [1998]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: glibc-2.0.6/kernel-2.1.82 interface problem
From
Date
"Michael L. Galbraith" <mikeg@weiden.de> writes:

> I finally decided that I needed to take the dreaded plunge to glibc6.
> Upon completion, I recompiled Bonnie to see what timing differences
> might crop up. The results were pretty disturbing when compared to
> libc-45.4.43 performance, so I dug in with strace.

If the program would be written correctly you wouldn't see such a
difference. getc is supposed to be thread safe. If you know you
don't have any problems with threading you have to use getc_unlocked.
The same for putc.

-- Uli
---------------. drepper at gnu.org ,-. Rubensstrasse 5
Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper at cygnus.com `------------------------

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.024 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site