Skip to content

Instantly share code, notes, and snippets.

@SamWindell
Last active July 2, 2024 13:47
Show Gist options
  • Save SamWindell/5f9eb5226eeb110f91e3917015e98e8e to your computer and use it in GitHub Desktop.
Save SamWindell/5f9eb5226eeb110f91e3917015e98e8e to your computer and use it in GitHub Desktop.
Atomic linked list of reference counted objects - single reader, singler writer
// This code can now be found in Floe
// https://github.com/Floe-Synth/Floe/blob/main/src/utils/thread_extra/atomic_ref_list.hpp
@SamWindell
Copy link
Author

Atomic<> can be considered the same as std::atomic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment