[fpc-pascal] Thread Safety of String
md at rpzdesign.com
md at rpzdesign.com
Wed Jun 4 19:22:57 CEST 2014
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, md at rpzdesign.com wrote:
>
>> Hello:
>>
>> Is a string[30] declaration under Linux thread safe?
>
> No.
>
> Michael.
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
More information about the fpc-pascal
mailing list