Skip to content

Add synchronized allocator variants - #25

Merged
antono3 merged 1 commit into
mainfrom
feature/concurrent-allocators
Sep 12, 2026
Merged

antono3 merged 1 commit into
mainfrom
feature/concurrent-allocators

Conversation

@antono3

@antono3 antono3 commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add the optional antono2.memory.concurrent submodule with synchronized range and buddy allocators
  • preserve the complete core allocator APIs while protecting mutations with write locks and snapshots with read locks
  • add held-allocation and deterministic contention tests that join every worker thread
  • add a runnable concurrent example and execute it on Linux, macOS, and Windows
  • add a focused ThreadSanitizer gate, using -gc none to avoid V 0.5.2's Boehm signal-handler conflict
  • prepare the additive v1.2.0 release

Validation

  • official V 0.5.2 formatting and vet
  • 7/7 normal test suites
  • all public examples
  • deterministic benchmark smoke
  • 7/7 AddressSanitizer and UndefinedBehaviorSanitizer suites
  • ThreadSanitizer concurrent suite with no races or leaked worker threads
  • generated public API documentation

@antono3
antono3 merged commit a302f32 into main Sep 12, 2026
4 checks passed
@antono3
antono3 deleted the feature/concurrent-allocators branch September 12, 2026 10:09
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