Thanks for the reference. It provides the relevant background, especially
on memory_order_consume.

BTW, the example has an unfamiliar syntax,  p -< next  (Its usage looks
like p -> next)  Is this something new?

Looking forward to the revision. Your implementation is much smaller than
the kernel RCU library. I think it will also be simpler to use.



On Mon, Mar 10, 2014 at 9:07 PM, Ben Pfaff <b...@nicira.com> wrote:

> On Wed, Mar 05, 2014 at 11:12:58PM -0800, Ben Pfaff wrote:
> > RCU allows multiple threads to read objects in parallel without any
> > performance penalty.  The following commit will introduce the first use.
> >
> > Signed-off-by: Ben Pfaff <b...@nicira.com>
>
> Hey, I just found out that memory_order_consume is designed specifically
> for RCU:
>         http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1525.htm
> Revision coming up ;-)
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to