Hi all,
A while ago, I filed a bug with LLVM about __sync_add_and_fetch as
compiled into eBPF code.
https://bugs.llvm.org/show_bug.cgi?id=36573
Both it and __sync_fetch_and_add fail to return the correct value of the
item being incremented, returning instead the increment (or double the
increment). This means I end up with race conditions. Has anyone else
run into this, and do you have a workaround for it?
The bug report, sadly, has not been touched by anyone else.
Best
Pablo Alvarez
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1380): https://lists.iovisor.org/g/iovisor-dev/message/1380
Mute This Topic: https://lists.iovisor.org/mt/23670176/21656
Group Owner: [email protected]
Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-