mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 02:29:36 +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
|
||||
SysAllocateThreadVars;
|
||||
dataindex:=TlsGetValue(tlskey);
|
||||
InitThread($1000000);
|
||||
end;
|
||||
SetLastError(errorsave);
|
||||
{$endif win32}
|
||||
|
Loading…
Reference in New Issue
Block a user