[fpc-pascal] String types in a wider perspective

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Dec 1 18:28:06 CET 2009


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


More information about the fpc-pascal mailing list