dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing/Toolkit IToolkit.cs, 1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing/Toolkit IToolkit.cs, 1.10, 1.11
Date: Wed, 09 Jul 2003 00:41:12 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Toolkit
In directory subversions:/tmp/cvs-serv18518/System.Drawing/Toolkit

Modified Files:
        IToolkit.cs 
Log Message:


Put some infrastructure in place to support multi-threaded Forms
applications - sending requests to another thread's message loop
for execution.


Index: IToolkit.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Toolkit/IToolkit.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** IToolkit.cs 24 Jun 2003 11:10:02 -0000      1.10
--- IToolkit.cs 9 Jul 2003 04:41:09 -0000       1.11
***************
*** 25,28 ****
--- 25,29 ----
  using System.Drawing.Imaging;
  using System.Drawing.Text;
+ using System.Threading;
  
  public interface IToolkit
***************
*** 38,41 ****
--- 39,46 ----
        // it to exit from the "Run" method.
        void Quit();
+ 
+       // Send a wakeup message to a thread's message queue to cause
+       // it to return back from "ProcessEvents".
+       void Wakeup(Thread thread);
  
        // Resolve a system color to an RGB value.  Returns -1 if the





reply via email to

[Prev in Thread] Current Thread [Next in Thread]