[Monodevelop-patches-list] r2084 - in trunk/MonoDevelop/Core/src/Main/Base: . Services/DispatchService

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Thu Dec 16 05:50:43 EST 2004


Author: lluis
Date: 2004-12-16 05:50:43 -0500 (Thu, 16 Dec 2004)
New Revision: 2084

Modified:
   trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
   trunk/MonoDevelop/Core/src/Main/Base/Services/DispatchService/SyncContext.cs
Log:
2004-12-16  Lluis Sanchez Gual  <lluis at novell.com>

	* Services/DispatchService/SyncContext.cs: Dispatch delegate calls
	asynchronously, no minimize the risk of deadlocks.



Modified: trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-12-16 01:08:09 UTC (rev 2083)
+++ trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-12-16 10:50:43 UTC (rev 2084)
@@ -1,3 +1,8 @@
+2004-12-16  Lluis Sanchez Gual  <lluis at novell.com>
+
+	* Services/DispatchService/SyncContext.cs: Dispatch delegate calls
+	asynchronously, no minimize the risk of deadlocks.
+
 2004-12-16  Lluis Sanchez Gual <lluis at novell.com>
 
 	* Services/DispatchService/DispatchService.cs: added a locks for accessing

Modified: trunk/MonoDevelop/Core/src/Main/Base/Services/DispatchService/SyncContext.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/Services/DispatchService/SyncContext.cs	2004-12-16 01:08:09 UTC (rev 2083)
+++ trunk/MonoDevelop/Core/src/Main/Base/Services/DispatchService/SyncContext.cs	2004-12-16 10:50:43 UTC (rev 2084)
@@ -135,7 +135,7 @@
 			gen.Emit (OpCodes.Ldftn, methodDispatch);
 			gen.Emit (OpCodes.Newobj, typeof(StatefulMessageHandler).GetConstructor (new Type[] {typeof(object), typeof(IntPtr)} ));
 			gen.Emit (OpCodes.Ldnull);
-			gen.Emit (OpCodes.Callvirt, typeof(SyncContext).GetMethod ("Dispatch"));
+			gen.Emit (OpCodes.Callvirt, typeof(SyncContext).GetMethod ("AsyncDispatch"));
 			
 			if (returnField != null) {
 				gen.Emit (OpCodes.Ldarg_0);




More information about the Monodevelop-patches-list mailing list