Skip to content

Add rr support for concurrentqueue with Nix build system - #267

Merged
fhackett merged 3 commits into
DistCompiler:mainfrom
AnzheXue:concurrentqueue-rr-support
Oct 25, 2025
Merged

Add rr support for concurrentqueue with Nix build system#267
fhackett merged 3 commits into
DistCompiler:mainfrom
AnzheXue:concurrentqueue-rr-support

Conversation

@AnzheXue

Copy link
Copy Markdown
Contributor

a) Add flake.nix for Nix-based C++ build with msgpack-cxx dependency
b) Update package.mill to use Nix
c) Revise main.cpp with to use meta instead of vectors to store token information (Possibly be deleted later)
d) Add MCConcurrentQueueAPI for model checking
e) Commented out parts in ConcurrentQueue.tla considering about tokens

AnzheXue and others added 3 commits October 23, 2025 14:20
- Add flake.nix for Nix-based C++ build with msgpack-cxx dependency
- Update package.mill to use Nix for concurrentqueue tracing executable
- Add main.cpp with comprehensive ConcurrentQueue API implementation
- Add MCConcurrentQueueAPI.tla for trace validation with proper thread extraction
- Add MCConcurrentQueueAPI.cfg for model checking configuration
- Update ConcurrentQueueAPI.tla with corrected variable definitions

This enables rr (record and replay) functionality for concurrentqueue
while maintaining the Nix build system for reproducible builds.
@fhackett
fhackett merged commit b6a3d20 into DistCompiler:main Oct 25, 2025
5 checks passed
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.

2 participants