Thank you for this patch Mathieu.

I've tweaked it a little bit as:
   1) The semantics of __atomic_compare_exchange are a little
different to __sync_val_compare_and_swap, and my tests were failing.
   2) I promoted it to gcc_generic.h as I believe this will be useful
for other architectures. :-).

This patch is currently applied in experimental: tbb_4.3~20150611-1~exp2.

I'm going to transfer more of the __sync_* to __atomic_, then I plan
on relaxing the fencing as the next step.

Please let me know if this works well/needs further tweaking and I'll
hit Sid with it soon.

Cheers,
--
Steve


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to