[fpc-pascal] Are the TEncoding singletons thread-safe?

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Aug 11 16:07:49 CEST 2016


On 11/08/16 15:38, silvioprog wrote:
> No, I didn't. Sorry if I made some misunderstood, I look at Delphi
> source just for check why it doesn't raise memory leak, I'm fully
> against piracy! I look at other sources from another languages too, like
> DotGNU Encoding, but just for analysis. The proposed possible patch is
> 100% genuine FPC implementation, and unlike Delphi, I've used a plain
> critical section for cross platform purposes.

How do you know that Delphi doesn't use a critical section if you did 
not look at its source code?


Jonas



More information about the fpc-pascal mailing list