[Mono-bugs] [Bug 73366][Maj] Changed - XplatUIX11 cannot handle concurrency in GDI calls.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 4 Mar 2005 17:14:38 -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 grompf@sublimeintervention.com.

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

--- shadow/73366	2005-03-04 16:53:03.000000000 -0500
+++ shadow/73366.tmp.14747	2005-03-04 17:14:38.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: (all operating systems where the X11 XPlatUI driver is used)
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: Windows.Forms
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: 4lw0e0402@sneakemail.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -36,6 +36,17 @@
   directly to its Handle from a secondary thread.
 
 ------- Additional Comments From 4lw0e0402@sneakemail.com  2005-03-04 16:53 -------
 Created an attachment (id=14552)
 Patch: Adds XInitThreads() call to XPlatUIX11.cs
 
+
+------- Additional Comments From grompf@sublimeintervention.com  2005-03-04 17:14 -------
+pdb will review this patch for logical correctness; but the static ctor is wrong;
+
+take a look at
+                public static XplatUIX11 GetInstance() {
+
+which returns a static instance; which is how all the Xplat drivers are derived; so the 
+proper location for this would be in the .ctor
+
+-kangaroo