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

Hazard pointers: Allocate number of pointers proportional to number of threads #14

Open
jleben opened this issue Apr 13, 2018 · 0 comments

Comments

@jleben
Copy link
Owner

jleben commented Apr 13, 2018

Instead of pre-allocating a fixed number of pointers, we can take M.M.Michael's suggestion to allocate new pointers only when the total number of threads that coexisted at any point in time increases.

Can we also de-allocate pointers in a lock-free manner?

@jleben jleben changed the title Hazard pointers: Allocate number of pointer proportional to number of threads Hazard pointers: Allocate number of pointers proportional to number of threads Apr 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant