memory_order_explicit
perfbook/toolsoftrade/toolsoftrade.tex says:
For example, ``\co{memory_order_explicit(&a, memory_order_relaxed)}'' is vaguely similar to the Linux kernel's ``\co{READ_ONCE()}''
I'm no expert on the C11 atomics, but as far as I can see, there is no such function as "memory_order_explicit". Did you perhaps mean to say "atomic_load_explicit"?
Signature · 1 line
Andreas Gustafsson, [email protected]
Quoted 8 lines · Andreas Gustafsson
perfbook/toolsoftrade/toolsoftrade.tex says:
For example, ``\co{memory_order_explicit(&a,
memory_order_relaxed)}'' is vaguely similar to the Linux kernel's ``\co{READ_ONCE()}''I'm no expert on the C11 atomics, but as far as I can see, there is no such function as "
memory_order_explicit". Did you perhaps mean to say "atomic_load_explicit"?
Indeed I did, good catch, thank you! I have applied a fix with your Reported-by.
Thanx, Paul