mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-19 21:58:23 +02:00
* enabled threading feature for jvm target so that rtl/inc/genmath.inc
compiles again there (it's possible to take the address of arbitrary threadvars on the jvm platform, but not of arbitrary other variables) - disabled inclusion of generic thread manager and threadvar support on the jvm target if the threading feature is enabled git-svn-id: trunk@23322 -
This commit is contained in:
parent
fe5a4baa15
commit
4ea78538e4
@ -2579,7 +2579,7 @@ begin
|
|||||||
system_jvm_java32,
|
system_jvm_java32,
|
||||||
system_jvm_android32:
|
system_jvm_android32:
|
||||||
target_unsup_features:=[f_heap,f_textio,f_consoleio,f_fileio,
|
target_unsup_features:=[f_heap,f_textio,f_consoleio,f_fileio,
|
||||||
f_variants,f_objects,f_threading,f_commandargs,
|
f_variants,f_objects,f_commandargs,
|
||||||
f_processes,f_stackcheck,f_dynlibs,f_softfpu,f_objectivec1,f_resources];
|
f_processes,f_stackcheck,f_dynlibs,f_softfpu,f_objectivec1,f_resources];
|
||||||
else
|
else
|
||||||
target_unsup_features:=[];
|
target_unsup_features:=[];
|
||||||
|
@ -1408,7 +1408,7 @@ end;
|
|||||||
Thread support
|
Thread support
|
||||||
*****************************************************************************}
|
*****************************************************************************}
|
||||||
|
|
||||||
{$ifdef FPC_HAS_FEATURE_THREADING}
|
{$if defined(FPC_HAS_FEATURE_THREADING) and not defined(cpujvm)}
|
||||||
{ Generic threadmanager }
|
{ Generic threadmanager }
|
||||||
{$i thread.inc}
|
{$i thread.inc}
|
||||||
|
|
||||||
@ -1419,7 +1419,7 @@ end;
|
|||||||
{ OS Dependent implementation }
|
{ OS Dependent implementation }
|
||||||
{$i systhrd.inc}
|
{$i systhrd.inc}
|
||||||
{$endif DISABLE_NO_THREAD_MANAGER}
|
{$endif DISABLE_NO_THREAD_MANAGER}
|
||||||
{$endif FPC_HAS_FEATURE_THREADING}
|
{$endif FPC_HAS_FEATURE_THREADING and not cpujvm}
|
||||||
|
|
||||||
|
|
||||||
{*****************************************************************************
|
{*****************************************************************************
|
||||||
|
@ -848,9 +848,9 @@ const
|
|||||||
*****************************************************************************}
|
*****************************************************************************}
|
||||||
|
|
||||||
{ Generic threadmanager }
|
{ Generic threadmanager }
|
||||||
{$ifdef FPC_HAS_FEATURE_THREADING}
|
{$if defined(FPC_HAS_FEATURE_THREADING) and not defined(cpujvm)}
|
||||||
{$i threadh.inc}
|
{$i threadh.inc}
|
||||||
{$endif FPC_HAS_FEATURE_THREADING}
|
{$endif FPC_HAS_FEATURE_THREADING and not cpujvm}
|
||||||
|
|
||||||
{*****************************************************************************
|
{*****************************************************************************
|
||||||
Resources support
|
Resources support
|
||||||
|
Loading…
Reference in New Issue
Block a user