I guess what I was really asking is: Is there a way to treat an array of chars as a string.
I like the string handling patterns of freepascal but I want the memory stability of a static array of chars so I can be used in multi-thread operations without a lot a critical section considerations. Cheers, marco On 6/4/2014 1:16 PM, Michael Van Canneyt wrote: > > > On Wed, 4 Jun 2014, m...@rpzdesign.com wrote: > >> Hello: >> >> Is a string[30] declaration under Linux thread safe? > > No. > > Michael. > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal