VPP is just a C app. So you can use standard C atomics…
Have you tried to do something like “git grep atomic” in the vpp repo ?
—
Damjan
> On 05.06.2021., at 19:39, Mohanty, Chandan (Nokia - IN/Bangalore)
> wrote:
>
> VPP experts,
> Any pointers on this will be much appreciated and help a
VPP experts,
Any pointers on this will be much appreciated and help a VPP learning guy.
Wanted to know, Similar to Linux, if any atomic operation is available in VPP?
Intention is to use at
Hello VPP Experts,
Wanted to know, Similar to Linux, if any atomic operation is available in VPP?
Intention is to use atomic operations in place of Locking.
Linux:
long atomic64_add_return(int i, atomic64_t *v) Atomically add i to v and return
the result
long atomic64_sub_return(int i, atomic64_t