* fix some gliches in inithreads

git-svn-id: trunk@4903 -
This commit is contained in:
Almindor 2006-10-14 12:47:42 +00:00
parent ce2eb7246d
commit f102f33426
6 changed files with 14 additions and 10 deletions

View File

@ -73,8 +73,8 @@ const
procedure InitThreads;
begin
GetThreadManager(CurrentTM);
if not ThreadsInited then begin
GetThreadManager(CurrentTM);
ThreadsInited := true;
end;
end;

View File

@ -74,9 +74,10 @@ const
procedure InitThreads;
begin
GetThreadManager(CurrentTM);
if not ThreadsInited then
if not ThreadsInited then begin
GetThreadManager(CurrentTM);
ThreadsInited := true;
end;
end;
procedure DoneThreads;

View File

@ -75,7 +75,7 @@ const
procedure InitThreads;
begin
if not ThreadsInited then
if not ThreadsInited then begin
GetThreadManager(CurrentTM);
ThreadsInited := true;
GMainPid := fpgetpid();

View File

@ -74,9 +74,10 @@ const
procedure InitThreads;
begin
GetThreadManager(CurrentTM);
if not ThreadsInited then
if not ThreadsInited then begin
GetThreadManager(CurrentTM);
ThreadsInited := true;
end;
end;
procedure DoneThreads;

View File

@ -74,9 +74,10 @@ const
procedure InitThreads;
begin
GetThreadManager(CurrentTM);
if not ThreadsInited then
if not ThreadsInited then begin
GetThreadManager(CurrentTM);
ThreadsInited := true;
end;
end;
procedure DoneThreads;

View File

@ -74,9 +74,10 @@ const
procedure InitThreads;
begin
GetThreadManager(CurrentTM);
if not ThreadsInited then
if not ThreadsInited then begin
GetThreadManager(CurrentTM);
ThreadsInited := true;
end;
end;
procedure DoneThreads;