On Thu, 05 Jun 2014 09:37:57 +0200
Michael Schnell <mschn...@lumino.de> wrote:

> On 06/04/2014 08:04 PM, joha...@nacs.net wrote:
> >  I would expect shortstring might be thread safe.
> Only a simple write (not a modification) of processor-native types is 
> inherently atomic and thus really thread save.

No. See for example
http://en.wikipedia.org/wiki/Memory_barrier

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to