* Completely initialize threadvars when an external thread is detected. Needs still cleanup code (or a better thread initialization/finalization).

git-svn-id: trunk@16432 -
This commit is contained in:
michael 2010-11-25 15:50:49 +00:00
parent 3d13c2e2be
commit cc0be1be4d

View File

@ -181,6 +181,7 @@ CONST
begin
SysAllocateThreadVars;
dataindex:=TlsGetValue(tlskey);
InitThread($1000000);
end;
SetLastError(errorsave);
{$endif win32}