Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/lib/libpthread
On Fri, Jan 09, 2004 at 06:08:28PM +0000, Christian Limpach wrote:
>
> Modified Files:
> src/lib/libpthread: pthread_rwlock.c
>
> Log Message:
> - add deadlock check to pthread_rwlock_wrlock and pthread_rwlock_timedwrlock
> - return EPERM when unlocking a lock which isn't held
> => prevent the failure in PR 24023, the deadlocking code path is still present
> in the citrus code
Since Christos fixed the citrus code, I've updated the Log Message:
=> prevent the failure in PR 24023, where the citrus code had a deadlocking
code path
> - remove deadlock check in pthread_rwlock_tryrdlock, return EBUSY instead
> => makes pthread_rwlock_tryrdlock standards compliant
>
> To generate a diff of this commit:
> cvs rdiff -r1.6 -r1.7 src/lib/libpthread/pthread_rwlock.c
christian
Home |
Main Index |
Thread Index |
Old Index