[Mono-bugs] [Bug 33732][Wis] New - Mono is not respecting Monitor locks ...

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
12 Nov 2002 15:23:44 -0000


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 manyoso@yahoo.com.

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

--- shadow/33732	Tue Nov 12 10:23:44 2002
+++ shadow/33732.tmp.22924	Tue Nov 12 10:23:44 2002
@@ -0,0 +1,43 @@
+Bug#: 33732
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: manyoso@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono is not respecting Monitor locks ...
+
+Try example #2 from this link:   
+   
+http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwlkthreadingtutorial.asp  
+  
+You'll find that Mono will output something like:  
+Produce 1  
+Consume 1  
+Consume 2  
+Consume 3  
+Produce 4  
+etc, etc...  
+  
+While .NET will alternate as expected ie,  
+ 
+ 
+Produce: 1 
+Consume: 1 
+Produce: 2 
+Consume: 2 
+Produce: 3 
+Consume: 3 
+... 
+... 
+Produce: 20 
+Consume: 20