attilio
daff94f8a6
In the current code, rdlock_count is not correctly handled for some cases.
...
The most notable is that it is not bumped in rwlock_rdlock_common() when
the hard path (__thr_rwlock_rdlock()) returns successfully.
This can lead to deadlocks in libthr when rwlocks recursion in read mode
happens.
Fix the interested parts by correctly handling rdlock_count.
PR: threads/136345
Reported by: rink
Tested by: rink
Reviewed by: jeff
Approved by: re (kib)
MFC: 2 weeks
2009-07-06 09:31:04 +00:00
..
2008-03-22 09:59:20 +00:00
2008-04-23 21:06:51 +00:00
2006-09-06 04:04:10 +00:00
2008-04-23 21:06:51 +00:00
2006-12-05 23:46:11 +00:00
2006-12-05 05:01:57 +00:00
2008-06-09 01:14:10 +00:00
2008-04-02 08:33:42 +00:00
2008-08-01 01:21:49 +00:00
2008-04-29 03:58:18 +00:00
2007-01-12 07:26:21 +00:00
2008-09-14 16:07:21 +00:00
2008-09-09 17:14:32 +00:00
2009-05-11 16:45:53 +00:00
2008-03-22 09:59:20 +00:00
2007-01-12 07:26:21 +00:00
2006-09-21 04:21:30 +00:00
2007-04-05 07:20:31 +00:00
2008-05-29 07:57:33 +00:00
2006-11-28 11:05:31 +00:00
2006-09-21 04:21:30 +00:00
2007-01-12 07:26:21 +00:00
2006-11-24 09:57:38 +00:00
2007-01-12 07:26:21 +00:00
2008-06-24 07:32:12 +00:00
2008-03-20 11:47:08 +00:00
2008-05-30 00:02:59 +00:00
2008-06-09 01:14:10 +00:00
2007-10-16 07:36:02 +00:00
2008-04-29 03:58:18 +00:00
2009-07-06 09:31:04 +00:00
2009-07-06 09:31:04 +00:00
2007-01-12 07:26:21 +00:00
2008-04-29 03:58:18 +00:00
2007-01-12 07:26:21 +00:00
2006-09-21 04:21:30 +00:00
2008-04-29 03:58:18 +00:00
2007-01-12 07:26:21 +00:00
2007-11-06 21:50:43 +00:00
2008-04-23 21:06:51 +00:00
2008-04-29 03:58:18 +00:00
2007-01-12 07:26:21 +00:00
2009-03-09 05:54:43 +00:00
2008-06-24 07:32:12 +00:00
2008-06-24 07:32:12 +00:00
2007-01-12 07:26:21 +00:00