El 7/9/22 a les 14:12, Sven Barth via fpc-pascal ha escrit:
Luca Olivetti via fpc-pascal <fpc-pascal@lists.freepascal.org
<mailto:fpc-pascal@lists.freepascal.org>> schrieb am Mi., 7. Sep. 2022,
13:01:
Hello,
I have a couple of TFPGMaps that I populate once and never change.
Is it safe to read them (i.e. use Find and Data[]) from different
threads?
I'd avoid using a critical section if not absolutely necessary.
I'd say that this should be safe indeed.
Ok, thank you.
Bye
--
Luca
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal