From mboxrd@z Thu Jan 1 00:00:00 1970 From: wtc@netscape.com (Wan-Teh Chang) Date: Wed, 07 Jun 2000 14:57:21 +0000 Subject: Re: [Linux-ia64] Two IA-64 Linux bugs Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org "Boehm, Hans" wrote: > > We also had problems around here with pthread_cond_wait. The glibc version > we were using was used a linuxthreads snapshot taken at a bad time. > Pthread_cond_wait checked that the current thread owned the mutex. > Unfortunately, it did so even for "fast" mutexes, for which the owner field > wasn't set. > > If this is the problem, I would guess that you should be able to avoid it by > using recursive or checking mutexes. The problem is hopefully very > temporary, since the glibc on sourceware exhibited this problem for only a > day. Indeed, if I use a recursive or error-checking mutex, I cannot make my test case (pingpong.c) fail. Wan-Teh