Bugs item #1044550, was opened at 2004-10-11 14:29
Message generated for change (Comment added) made by drieseng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1044550&group_id=31650
Category: Tasks
Group: 0.8.4.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Twan Jacobs (arogldarthu)
>Assigned to: Gert Driesen (drieseng)
Summary: ExternalProgramBase output threads still running
Initial Comment:
We are experiencing strange behaviour with the console
output streams of ExternalProgramBase. After the main
process exits, the output streams are still running in
their respective threads. This causes output of different
NAnt tasks to be 'printed' through each other.
In the uploaded file you will find a fragment of our
console output. It's quite clear that the output of the
first tasks mingles through the second task's output.
Proposed resolution: add a new TaskAttribute to indicate
forced waiting for thread exit...
change the following lines:
// Wait for the threads to terminate
outputThread.Join(2000);
errorThread.Join(2000);
_htThreadStream.Clear();
to:
// Wait for the threads to terminate
if (_forceThreadExit)
{
outputThread.Join();
errorThread.Join();
}
else
{
outputThread.Join(2000);
errorThread.Join(2000);
}
_htThreadStream.Clear();
----------------------------------------------------------------------
>Comment By: Gert Driesen (drieseng)
Date: 2004-11-03 07:07
Message:
Logged In: YES
user_id=707851
This should now be fixed in cvs (and the next nightly build).
Please reopen this bug report if you can still reproduce this
issue with the next nightly build (or release).
----------------------------------------------------------------------
Comment By: Twan Jacobs (arogldarthu)
Date: 2004-10-12 16:38
Message:
Logged In: YES
user_id=595447
The problem occurs in a rather large build process...
I will try to find some time and create a small example with
the same effects. Don't hold your breath, it will take a few
days ;-)
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2004-10-11 14:56
Message:
Logged In: YES
user_id=707851
Would it be possible to attach a repro for this issue ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1044550&group_id=31650
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers