Pārlūkot izejas kodu

* fixed initial suspending bug in r5662

git-svn-id: trunk@5668 -
Jonas Maebe 18 gadi atpakaļ
vecāks
revīzija
96b379ab0b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      rtl/unix/tthread.inc

+ 1 - 1
rtl/unix/tthread.inc

@@ -142,7 +142,7 @@ begin
   FSem := CurrentTM.SemaphoreInit();
   FSem := CurrentTM.SemaphoreInit();
   if FSem = nil then
   if FSem = nil then
     raise EThread.create('Semaphore init failed (possibly too many concurrent threads)');
     raise EThread.create('Semaphore init failed (possibly too many concurrent threads)');
-  FSuspended := True;
+  FSuspended := False;
   FSuspendedExternal := false;
   FSuspendedExternal := false;
   FInitialSuspended := CreateSuspended;
   FInitialSuspended := CreateSuspended;
   FFatalException := nil;
   FFatalException := nil;