Explorar o código

* fixed initial suspending bug in r5662

git-svn-id: trunk@5668 -
Jonas Maebe %!s(int64=19) %!d(string=hai) anos
pai
achega
96b379ab0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/unix/tthread.inc

+ 1 - 1
rtl/unix/tthread.inc

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