This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: IO deadlock
- To: drepper@cygnus.com
- Subject: Re: IO deadlock
- From: Thorsten Kukuk <kukuk@weber-eb.uni-paderborn.de>
- Date: Wed, 22 Jul 1998 22:11:09 +0200 (MEST)
- Cc: kukuk@weber-eb.uni-paderborn.de, libc-hacker@cygnus.com
> > 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.