*** thread-gdc-1g.d Sat Oct 2 13:19:32 2004 --- thread-gdc-1g-fix.d Tue Oct 5 19:46:55 2004 *************** *** 628,639 **** else npause++; // count of paused threads } ! // Wait for each paused thread to acknowledge ! while (npause--) ! { ! flagSuspend.wait(); ! } } } } --- 628,639 ---- else npause++; // count of paused threads } + } ! // Wait for each paused thread to acknowledge ! while (npause--) ! { ! flagSuspend.wait(); } } } *************** *** 1112,1123 **** else npause++; // count of paused threads } ! // Wait for each paused thread to acknowledge ! while (npause--) ! { ! sem_wait(&flagSuspend); ! } } } } --- 1112,1123 ---- else npause++; // count of paused threads } + } ! // Wait for each paused thread to acknowledge ! while (npause--) ! { ! sem_wait(&flagSuspend); } } }