mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 04:49:19 +02:00
* 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:
parent
3d13c2e2be
commit
cc0be1be4d
@ -181,6 +181,7 @@ CONST
|
|||||||
begin
|
begin
|
||||||
SysAllocateThreadVars;
|
SysAllocateThreadVars;
|
||||||
dataindex:=TlsGetValue(tlskey);
|
dataindex:=TlsGetValue(tlskey);
|
||||||
|
InitThread($1000000);
|
||||||
end;
|
end;
|
||||||
SetLastError(errorsave);
|
SetLastError(errorsave);
|
||||||
{$endif win32}
|
{$endif win32}
|
||||||
|
Loading…
Reference in New Issue
Block a user