mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 08:00:52 +02:00
- Do not compile generic threadvar code if tf_section_threadvars flag is enabled for target (currently there are no such targets).
git-svn-id: trunk@25736 -
This commit is contained in:
parent
90d66595c2
commit
f2a4d1bbbc
@ -1411,8 +1411,10 @@ end;
|
||||
{ Generic threadmanager }
|
||||
{$i thread.inc}
|
||||
|
||||
{$ifndef FPC_SECTION_THREADVARS}
|
||||
{ Generic threadvar support }
|
||||
{$i threadvr.inc}
|
||||
{$endif FPC_SECTION_THREADVARS}
|
||||
|
||||
{$ifdef DISABLE_NO_THREAD_MANAGER}
|
||||
{ OS Dependent implementation }
|
||||
|
@ -116,7 +116,9 @@ Function SetThreadManager(Const NewTM : TThreadManager) : Boolean;
|
||||
{$ifndef DISABLE_NO_THREAD_MANAGER}
|
||||
{$endif DISABLE_NO_THREAD_MANAGER}
|
||||
// Needs to be exported, so the manager can call it.
|
||||
{$ifndef FPC_SECTION_THREADVARS}
|
||||
procedure InitThreadVars(RelocProc : TRelocateThreadVarHandler);
|
||||
{$endif FPC_SECTION_THREADVARS}
|
||||
procedure InitThread(stklen:SizeUInt);
|
||||
procedure DoneThread;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user