Fix Windows atomic get/set
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 27 May 2012 14:01:13 +0000 (10:01 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 27 May 2012 14:01:13 +0000 (10:01 -0400)
commit303d5850ec0516e198db241456b0cfc4899ef9c0
treee6fda5fce0b82c8bbabce1f85a8b995865459e70
parent8f8956a55fff95e5ad529d2f124c9528d1f4f81d
Fix Windows atomic get/set

According to:
http://msdn.microsoft.com/en-us/library/65tt87y8.aspx

MemoryBarrier() is the right macro to protect these, not _ReadBarrier()
and/or _WriteBarrier().
src/hb-atomic-private.hh