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