Date: Sat, 17 Jan 2004 14:56:43 -0500 From: Craig Rodrigues <rodrigc@crodrigues.org> To: freebsd-threads@freebsd.org Subject: Re: NPTL test failures with KSE Message-ID: <20040117195642.GA28271@crodrigues.org> In-Reply-To: <20040113060007.GA23063@crodrigues.org> References: <20040113060007.GA23063@crodrigues.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 13, 2004 at 01:00:07AM -0500, Craig Rodrigues wrote:
> tst-mutex3:
> 4th mutex_unlock didn't return EPERM
The above error in the Linux NPTL tests
is gone due to this fix from David Xu:
davidxu 2004/01/16 19:09:57 PST
FreeBSD src repository
Modified files:
lib/libpthread/thread thr_mutex.c
Log:
Return EPERM if mutex owner is not current thread but it tries to
unlock the mutex, old code confuses some programs when it returns EINVAL.
Noticed by: bland
Revision Changes Path
1.45 +3 -18 src/lib/libpthread/thread/thr_mutex.c
--
Craig Rodrigues
http://crodrigues.org
rodrigc@crodrigues.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040117195642.GA28271>
