This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: IO deadlock



> > There are some more functions, which makes a double lock on the stream.
> > Haven't found them all yet, but getpwuid_r will also hang.
> 
> Well, as I've said double locking shouldn't be a problem normally...

The only other function, I have found in the moment is _IO_seekoff.
It hangs in _IO_flockfile, too. Don't remember from where it was called.

I think double locking is always a bad idea and shouldn't happen.

  Thorsten

-- 
Thorsten Kukuk  kukuk@vt.uni-paderborn.de
                http://www-vt.uni-paderborn.de/~kukuk
Linux is like a Vorlon.  It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]