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
..
2009-07-16 10:10:10 -07:00
2009-07-16 09:57:32 -07:00
2009-04-26 22:31:19 +00:00
2007-07-16 00:56:07 +00:00
2004-02-17 05:16:49 +00:00
2007-11-14 15:14:05 +00:00
2007-07-16 00:56:07 +00:00
2007-07-16 00:56:07 +00:00
2007-10-30 00:48:09 +00:00
2007-10-30 00:48:09 +00:00
2007-07-16 00:56:07 +00:00
2007-07-16 00:56:07 +00:00
2007-07-16 00:56:07 +00:00
2007-07-16 00:56:07 +00:00
2009-07-16 10:10:10 -07:00
2009-07-16 10:10:10 -07:00
2009-07-16 10:10:10 -07:00
2009-06-16 09:19:59 -07:00
2009-07-16 10:10:10 -07:00
2008-03-04 01:54:09 +00:00
2009-05-15 21:17:08 -07:00
2009-05-15 21:17:08 -07:00
2009-05-15 21:17:08 -07:00
2009-05-15 21:17:08 -07:00
2009-05-15 21:17:08 -07:00
2009-05-18 10:19:50 -07:00
2009-05-15 21:17:08 -07:00
2007-01-14 05:26:04 +00:00
2007-11-06 00:45:40 +00:00
2005-11-18 22:42:21 +00:00
2009-05-16 10:29:43 -07:00
2009-05-15 20:48:08 -07:00
2007-11-06 01:04:13 +00:00
2009-05-16 10:29:43 -07:00
2007-07-31 13:33:18 +00:00
2009-07-16 10:10:10 -07:00
2007-08-22 03:14:29 +00:00
2009-05-15 20:48:08 -07:00
2009-05-15 20:48:08 -07:00
2009-07-16 10:10:10 -07:00