public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] gentoo-x86 commit in dev-dotnet/nant/files: nant-0.85-threadingfix.patch
@ 2007-12-31 16:32 99% Jurek Bartuszek (jurek)
  0 siblings, 0 replies; 1+ results
From: Jurek Bartuszek (jurek) @ 2007-12-31 16:32 UTC (permalink / raw
  To: gentoo-commits

jurek       07/12/31 16:32:29

  Added:                nant-0.85-threadingfix.patch
  Log:
  dev-dotnet/nant-0.85: fixed threading issue (bug #199748)
  (Portage version: 2.1.3.19)

Revision  Changes    Path
1.1                  dev-dotnet/nant/files/nant-0.85-threadingfix.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/nant/files/nant-0.85-threadingfix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/nant/files/nant-0.85-threadingfix.patch?rev=1.1&content-type=text/plain

Index: nant-0.85-threadingfix.patch
===================================================================
--- src/NAnt.Core/Tasks/ExternalProgramBase.cs	2005-04-04 14:08:28.000000000 +0200
+++ src/NAnt.Core/Tasks/ExternalProgramBase.cs.new	2007-12-31 17:28:09.000000000 +0100
@@ -452,7 +452,8 @@
                     }
                 }
             }
-            OutputWriter.Flush();
+	    lock (_lockObject)
+	        OutputWriter.Flush();
         }
 
        /// <summary>
        /// Reads from the stream until the external program is ended.
        /// </summary>
         private void StreamReaderThread_Error() {
@@ -476,7 +477,8 @@
                     }
                 }
             }
-            ErrorWriter.Flush();
+	    lock (_lockObject)
+                ErrorWriter.Flush();
         }
 
         /// <summary>



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-12-31 16:32 99% [gentoo-commits] gentoo-x86 commit in dev-dotnet/nant/files: nant-0.85-threadingfix.patch Jurek Bartuszek (jurek)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox