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

Investigate: AtomicValUnmanagedLarge<T> #12

Open
Xenoprimate opened this issue Feb 15, 2019 · 0 comments
Open

Investigate: AtomicValUnmanagedLarge<T> #12

Xenoprimate opened this issue Feb 15, 2019 · 0 comments

Comments

@Xenoprimate
Copy link
Contributor

A disposable AtomicValUnmanagedLarge type that works with large unmanaged structs. Threads each create a local space to copy new values in to, and then atomically change the global pointer. Must be disposed, however. OR... Swap the global pointer for a BLOCKED pointer while writing. Benchmark these two against each other. I think the first one will win out though.

Would need to benchmark and see if it's even worth it, though.

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

No branches or pull requests

1 participant