On 01 Dec 2009, at 18:03, Luca Olivetti wrote: > I always protect multithreaded sting access with a critical section. > Do you mean it is not needed?
The reference counting of ansistrings/... is thread safe. Accessing the characters etc still requires explicit synchronisation if at least one writer is involved. Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal