On 03/02/2012 02:32 AM, Behdad Esfahbod wrote: > src/hb-blob.cc | 2 +- > src/hb-object-private.hh | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > New commits: > commit bc71ad4973842f25216b48842a46d6c9cbce6aa3 > Author: Behdad Esfahbod <[email protected]> > Date: Thu Mar 1 17:30:29 2012 -0800 > > Fix atomic-int op on Apple > > The OSAtomicAdd32Barrier operator returns the new value, we want the > old value. >
Have you thought about adding support for gcc's atomic intrinsics? They are somewhat portable. I posted a patch for that a few months ago (not sure if it is entirely correct). I have used this in my personal tree and it seems to work fine, see [1]. Best regards, Grigori [1] http://code.google.com/p/libass/source/detail?r=e80e911e8af19f525a4ba7f47b4524518e14b1f6&repo=harfbuzz# _______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
