On Wed, Jul 18, 2018 at 8:01 AM, Pablo Alvarez via Lists.Iovisor.Org
<[email protected]> wrote:
> Hi Daniel,
>
> Yes. If you look at the bug report, you will see that what it actually
> returns is some form of the increment. that is,
>
> __sync_add_and_fetch(myptr, increment)

I added a comment to bugzilla.
Thank you for bringing it up.
It was considered a known quirk before, but we should improve it.
__sync_add_and_fetch semantics are cleaner and more useful
than what we have today.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#1383): https://lists.iovisor.org/g/iovisor-dev/message/1383
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to