diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2013-08-15 00:09:20 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2013-08-15 00:09:20 +0400 |
commit | 0ecd177c8676b202ba06d277bb8e085ce2c0ca80 (patch) | |
tree | 7df278ed52df55967e720174abb33fe29517842c /main/src/core/MonoDevelop.Projects.Formats.MSBuild | |
parent | eaf3096f74b549449b3f35e466661d417b779522 (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.cs | 4 |
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); |