Browse Source

* correct termination of thread

carl 23 years ago
parent
commit
23fd809891
1 changed files with 6 additions and 2 deletions
  1. 6 2
      fcl/tests/threads.pp

+ 6 - 2
fcl/tests/threads.pp

@@ -20,7 +20,7 @@ procedure TMyThread.Execute;
 begin
 begin
   repeat
   repeat
     write(ch);
     write(ch);
-  until false;
+  until Terminated;
 end;
 end;
 
 
 
 
@@ -43,8 +43,12 @@ begin
   t2.Destroy;
   t2.Destroy;
   t1.Destroy;
   t1.Destroy;
 end.
 end.
+{
   $Log$
   $Log$
-  Revision 1.3  2002-09-07 15:15:28  peter
+  Revision 1.4  2002-09-07 21:03:37  carl
+    * correct termination of thread
+
+  Revision 1.3  2002/09/07 15:15:28  peter
     * old logs removed and tabs fixed
     * old logs removed and tabs fixed
 
 
 }
 }