|
From: Greg P. <gp...@ap...> - 2011-11-08 18:13:56
|
On Nov 8, 2011, at 4:50 AM, Julian Seward wrote: > I'd prefer to try and fix this problem by first, adding > memory fences in the regtests that do inter-thread memory access > without synchronisation. This would be simple if we make a > function to force a complete load and store fence on all platforms, __sync_synchronize() ought to work. http://gcc.gnu.org/onlinedocs/gcc/Atomic-Builtins.html -- Greg Parker gp...@ap... Runtime Wrangler |