Skip to content

Feat: Add a synchronized value type - #1686

Draft
hallfox wants to merge 1 commit into
bloomberg:mainfrom
hallfox:feat-synchronized-value
Draft

Feat: Add a synchronized value type#1686
hallfox wants to merge 1 commit into
bloomberg:mainfrom
hallfox:feat-synchronized-value

Conversation

@hallfox

@hallfox hallfox commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

This is a type to help associate BDE mutexes with the values they protect. It is a basic implementation based off of preexisting work in boost and folly in particular. Some things that are missing from this draft:

  • SynchronizedValue should be allocator aware if the underlying value is
  • Awareness of tryLock variants (optional for our purposes)

See also:

Signed-off-by: Taylor Foxhall <tfoxhall@bloomberg.net>
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