[fpc-pascal] reading a TFPGMap from several threads

Luca Olivetti luca at ventoso.org
Wed Sep 7 13:01:20 CEST 2022


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.

Bye

-- 
Luca


More information about the fpc-pascal mailing list