Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented MichaelDeque #88

Open
wants to merge 6 commits into
base: integration
Choose a base branch
from

Conversation

max-kuzmin
Copy link

@max-kuzmin max-kuzmin commented Sep 27, 2017

Deque described in "[2003] Michael CAS-Based Lock-Free Algorithm for Shared Deques".
Implemented intrusive container with HP or DHP garbage collector.
For work this algorithm requires 64bit/128bit DCAS on x86/x64 platform.
Tested with "intrusive_queue_push_pop" on 8 threads Ubuntu x64 and queue size 200.000.000 (it takes 450 seconds and 8 Gb of memory). Also tested with AddressSanitizer. Tests ran separately for left-to-right queue and right-to-left queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant