On 8/11/16, silvioprog <silviop...@gmail.com> wrote: > ... so I decided to research how Delphi > implements it, because I can't get any error on it, and I've seen it > implements a "lock-free initialization" technique > <http://stackoverflow.com/a/24657705/3268398> using the XE's > AtomicCmpExchange() function before return any TEncoding global instance. ...... > I could send a patch to solve it,
I hope you did not look at the Delphi sourcecode to see how it was implemented, because that would now make a "clean room" implementation on our side almost impossible. Bart _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal