[snip]
> > +/**
> > + * An atomic compare and set function used by the mutex functions.
> > + * (Atomically) Equivalent to:
> > + * if (*dst == exp)
> Should be, "if (*dst == *exp)"
>
> > + * *dst = src
> Should be "*dst = *src"
>
Good catches, will fix both.
> > + * else
> > + * *
> This operation can be used for non-blocking algorithms, such as a non-blocking
> stack or ring.
>
> Signed-off-by: Gage Eads
> ---
> .../common/include/arch/x86/rte_atomic_64.h| 33
> lib/librte_eal/common/include/generic/rte_atomic.h | 59
> ++
> 2 fil
This operation can be used for non-blocking algorithms, such as a
non-blocking stack or ring.
Signed-off-by: Gage Eads
---
.../common/include/arch/x86/rte_atomic_64.h| 33
lib/librte_eal/common/include/generic/rte_atomic.h | 59 ++
2 files changed, 92 ins
3 matches
Mail list logo