Software Barriers in C++

98 Views Asked by At

Is there a way to enforce ordering in GCC so computations before a barrier are ordered before computations after the barrier in assembly code?

I was reading some Linus Torvald correspondences and he mentions a Barrier() macro but I can't find it in GCC.

0

There are 0 best solutions below