[project @ 2005-11-24 14:21:33 by simonmar]
authorsimonmar <unknown>
Thu, 24 Nov 2005 14:21:33 +0000 (14:21 +0000)
committersimonmar <unknown>
Thu, 24 Nov 2005 14:21:33 +0000 (14:21 +0000)
commit9df32c34af9f82afeedb199e8bdfcc39e0af44d7
tree139b942264f38b87b9fdb0d232d48a491fb0a94d
parent2d4e9216a65f09707862f2bbb78408a0a5fa3ceb
[project @ 2005-11-24 14:21:33 by simonmar]
unlockClosure() requires a write barrier for the compiler - write
barriers aren't required for the CPU, but gcc re-orders non-aliasing
writes unless we use an explicit barrier.

This only just showed up when we started compiling the RTS with -O2.
ghc/includes/SMP.h