[fpc-pascal] Thread Safety of String

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jun 4 21:27:11 CEST 2014


On Wed, 04 Jun 2014 15:03:31 -0400
"Saunders, Rich" <greymont at mykolab.com> wrote:

>[...]
> Whether static variables are more or less thread safe is for you to 
> decide since you know what you are doing with them. I don't think either 
> short strings or Strings are inherently more or less thread safe. It 
> depends on what you do with them.

No data is "thread safe". Only code can be thread safe.

Mattias



More information about the fpc-pascal mailing list