From 0f8d30486bffb71cd431e67084fcc502411236b9 Mon Sep 17 00:00:00 2001
From: gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>
Date: Fri, 11 Dec 2009 16:15:54 +0000
Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1417
 35acf78f-673a-0410-8e92-d51de3d6d3f4

---
 demos/Win32-MinGW/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/demos/Win32-MinGW/main.c b/demos/Win32-MinGW/main.c
index 140f3bd79..01ca7cad9 100644
--- a/demos/Win32-MinGW/main.c
+++ b/demos/Win32-MinGW/main.c
@@ -91,6 +91,7 @@ static void termination_handler(eventid_t id) {
   if (shelltp1 && chThdTerminated(shelltp1)) {
     chThdWait(shelltp1);
     shelltp1 = NULL;
+    chThdSleepMilliseconds(10);
     cprint("Init: shell on SD1 terminated\n");
     chSysLock();
     chOQResetI(&SD1.d2.oqueue);
@@ -99,6 +100,7 @@ static void termination_handler(eventid_t id) {
   if (shelltp2 && chThdTerminated(shelltp2)) {
     chThdWait(shelltp2);
     shelltp2 = NULL;
+    chThdSleepMilliseconds(10);
     cprint("Init: shell on SD2 terminated\n");
     chSysLock();
     chOQResetI(&SD2.d2.oqueue);
-- 
cgit v1.2.3