All of lore.kernel.org
 help / color / mirror / Atom feed
* memory_order_explicit
@ 2018-08-12 20:47 Andreas Gustafsson
  2018-08-12 23:28 ` memory_order_explicit Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Gustafsson @ 2018-08-12 20:47 UTC (permalink / raw)
  To: perfbook

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"?
-- 
Andreas Gustafsson, gson@gson.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: memory_order_explicit
  2018-08-12 20:47 memory_order_explicit Andreas Gustafsson
@ 2018-08-12 23:28 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2018-08-12 23:28 UTC (permalink / raw)
  To: Andreas Gustafsson; +Cc: perfbook

On Sun, Aug 12, 2018 at 11:47:17PM +0300, Andreas Gustafsson wrote:
> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-13  2:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-12 20:47 memory_order_explicit Andreas Gustafsson
2018-08-12 23:28 ` memory_order_explicit Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.