Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Add a lock-free queue to core-util #103

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

bremoran
Copy link
Contributor

This queue is written in C and can serve as the basis for C++ typesafe queues.

This is still a prototype; it will only compile on M3/4/7 targets, since it depends on the library providing _sync* primitives. These should be replaced with atomic_cas.

cc @bogdanm @rgrover @mjs-arm @jaustin @0xc0170 @meriac

This queue is written in C and can serve as the basis for C++ typesafe queues.
Add a new atomic op to protect the atomic dequeue operation
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant