Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hutchinson <m.j.hutchinson@gmail.com>2013-08-15 00:09:20 +0400
committerMichael Hutchinson <m.j.hutchinson@gmail.com>2013-08-15 00:09:20 +0400
commit0ecd177c8676b202ba06d277bb8e085ce2c0ca80 (patch)
tree7df278ed52df55967e720174abb33fe29517842c /main/src/core/MonoDevelop.Projects.Formats.MSBuild
parenteaf3096f74b549449b3f35e466661d417b779522 (diff)
[MSBuild] Send log messages back to MD asynchonously
Made a small project with diagnostic logging build 16% faster. This shouldn't need synchronization because we block on the RunTarget return value, and these messages should be processed before that one.
Diffstat (limited to 'main/src/core/MonoDevelop.Projects.Formats.MSBuild')
-rw-r--r--main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild/ILogWriter.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild/ILogWriter.cs b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild/ILogWriter.cs
index 91fa8e2355..8373877c11 100644
--- a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild/ILogWriter.cs
+++ b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.Projects.Formats.MSBuild/ILogWriter.cs
@@ -26,6 +26,7 @@
using System;
using System.IO;
+using System.Runtime.Remoting.Messaging;
namespace MonoDevelop.Projects.Formats.MSBuild
{
@@ -42,7 +43,8 @@ namespace MonoDevelop.Projects.Formats.MSBuild
{
this.writer = writer;
}
-
+
+ [OneWayAttribute]
public void WriteLine (string text)
{
writer.WriteLine (text);