Petr Baudis 137028b4d7 Fix lock handling in memory hander of nscd.
The commit 20e498bd removes the pthread_mutex_rdlock() calls, but not the
corresponding pthread_mutex_unlock() calls. Also, the database lock is never
unlocked in one branch of the mempool_alloc() if.

I think unreproducible random assert(dh->usable) crashes in prune_cache() were
caused by this. But an easy way to make nscd threads hang with the broken
locking was.
2009-07-16 10:10:10 -07:00
..
2004-02-17 05:16:49 +00:00
2008-03-04 01:54:09 +00:00
2009-05-16 10:29:43 -07:00
2009-05-16 10:29:43 -07:00
.
2007-07-31 13:33:18 +00:00
2007-08-22 03:14:29 +00:00