* fixed semaphore init, caused endless loop when terminating any

thread

git-svn-id: trunk@4925 -
This commit is contained in:
Jonas Maebe 2006-10-15 14:46:36 +00:00
parent b6309075a4
commit f8b013187c
6 changed files with 6 additions and 6 deletions

View File

@ -142,7 +142,7 @@ begin
// via BeginThread and creates the first TThread Object in there!
InitThreads;
inherited Create;
FSem := CurrentTM.SemaphoreInit;
FSem := CurrentTM.SemaphoreInit();
FSuspended := CreateSuspended;
FSuspendedExternal := false;
FInitialSuspended := CreateSuspended;

View File

@ -136,7 +136,7 @@ begin
// via BeginThread and creates the first TThread Object in there!
InitThreads;
inherited Create;
FSem := CurrentTM.SemaphoreInit;
FSem := CurrentTM.SemaphoreInit();
FSuspended := CreateSuspended;
FSuspendedExternal := false;
FInitialSuspended := CreateSuspended;

View File

@ -142,7 +142,7 @@ begin
// via BeginThread and creates the first TThread Object in there!
InitThreads;
inherited Create;
FSem := CurrentTM.SemaphoreInit;
FSem := CurrentTM.SemaphoreInit();
FSuspended := CreateSuspended;
FSuspendedExternal := false;
FInitialSuspended := CreateSuspended;

View File

@ -136,7 +136,7 @@ begin
// via BeginThread and creates the first TThread Object in there!
InitThreads;
inherited Create;
FSem := CurrentTM.SemaphoreInit;
FSem := CurrentTM.SemaphoreInit();
FSuspended := CreateSuspended;
FSuspendedExternal := false;
FInitialSuspended := CreateSuspended;

View File

@ -136,7 +136,7 @@ begin
// via BeginThread and creates the first TThread Object in there!
InitThreads;
inherited Create;
FSem := CurrentTM.SemaphoreInit;
FSem := CurrentTM.SemaphoreInit();
FSuspended := CreateSuspended;
FSuspendedExternal := false;
FInitialSuspended := CreateSuspended;

View File

@ -136,7 +136,7 @@ begin
// via BeginThread and creates the first TThread Object in there!
InitThreads;
inherited Create;
FSem := CurrentTM.SemaphoreInit;
FSem := CurrentTM.SemaphoreInit();
FSuspended := CreateSuspended;
FSuspendedExternal := false;
FInitialSuspended := CreateSuspended;