[fpc-pascal] reading a TFPGMap from several threads
pascaldragon at googlemail.com
Wed Sep 7 14:12:14 CEST 2022
Luca Olivetti via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
Mi., 7. Sep. 2022, 13:01:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal