[fpc-devel] volatile variables
henry.vermaak at gmail.com
Tue Jun 28 15:56:49 CEST 2011
On 28/06/11 14:20, Andrew Brunner wrote:
> On Tue, Jun 28, 2011 at 8:11 AM, Jonas Maebe<jonas.maebe at elis.ugent.be> wrote:
>> (point 4.11)
> Nope. Nothing about order - just access - and that is entirely on the
> application level - not system.
> 1.) Code execution on die is not controlled by pthreads implemention -
> as it is unaware at that level.
Of course it is. They issue a hardware memory barrier. This stops the
cpu from reordering operations. How do you think anything using
pthreads will work if they didn't?
More information about the fpc-devel