[Mono-bugs] [Bug 73191][Wis] New - ReaderWriterLock Fails To Run MSDN Example Code

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 1 Mar 2005 21:56:59 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by scott@imeem.com.

http://bugzilla.ximian.com/show_bug.cgi?id=73191

--- shadow/73191	2005-03-01 21:56:58.000000000 -0500
+++ shadow/73191.tmp.24679	2005-03-01 21:56:58.000000000 -0500
@@ -0,0 +1,37 @@
+Bug#: 73191
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: Linux, Fedora Core 2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: scott@imeem.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ReaderWriterLock Fails To Run MSDN Example Code
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem: ReaderWriterLock() on Mono is slow and frequently
+fails locks up while running example code from MSDN site
+
+
+Steps to reproduce the problem:
+Check the example C# code on this page
+http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemthreadingreaderwriterlockclasstopic.asp
+
+Actual Results:
+Frequently it locks up, the rest of the time it generates many many more
+timeouts compared with the same code on Mono
+e.g.
+Under Mono...
+4491 reads, 736 writes, 1446 reader time-outs, 331 writer time-outs.
+or worse, it'll lock up.
+Under .Net
+64846 reads, 12381 writes, 0 reader time-outs, 0 writer time-outs