NPTL test failures with KSE

Craig Rodrigues rodrigc at
Sat Jan 17 11:56:51 PST 2004

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
  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
rodrigc at

More information about the freebsd-threads mailing list