Author: martin
Date: 2007-06-25 11:53:28 -0400 (Mon, 25 Jun 2007)
New Revision: 80690
Modified:
branches/martin/debugger-dublin/debugger/frontend/Interpreter.cs
Log:
Fix a race condition.
Modified: branches/martin/debugger-dublin/debugger/frontend/Interpreter.cs
===================================================================
--- branches/martin/debugger-dublin/debugger/frontend/Interpreter.cs
2007-06-25 15:34:28 UTC (rev 80689)
+++ branches/martin/debugger-dublin/debugger/frontend/Interpreter.cs
2007-06-25 15:53:28 UTC (rev 80690)
@@ -484,6 +484,9 @@
wait_list.Remove (stopped);
} while (wait && (stopped != null) && (stopped !=
thread));
+ if (!HasTarget)
+ return stopped;
+
foreach (Process process in Processes) {
foreach (Thread t in process.GetThreads ()) {
if (t == stopped)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches