Skip to content

Atomic push/pop #19

@liarokapisv

Description

@liarokapisv

Are ring-span's push/pop safe for unsynchronized consumer/producer scenarios?
Does it even make sense to support such functionality given ring-span's domain (eg by using a policy)
or does it make sense to write a wrapper on top of it to provide atomicity?
On the top of my head writing a lock-free wrapper on top of ring-span does not seem possible. Modifying ring-span should be more straightforward in comparison. Then again the iterator-based functionality may not be suitable for such usage so maybe this should be out of scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions