Local Typed Constant versus Multithreading
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
Typed constants are currently implemented as
global variables even if declared in the scope
of a procedure/function. Now that FPC supports
multithreading, this may lead to errors. IMHO,
they should be implemented as local variables
with initialization code at the beginning of the
procedure/function.
Additional information:
Reporter: Fernando
EMail:
Mantis conversion info:
- Mantis ID: 5593
- OS: Win32
- Version: 1.9.6