ocaml-trace/test/landmarks/dune
Simon Cruanes 6517ee32bc
Add lock-free atomic hashtable for string->atomic int mapping
- Implements thread-safe hash table using only atomics and arrays
- Uses open addressing with linear probing
- Fast lookups: atomic load + string comparison
- Slow inserts acceptable (CAS-based insertion)
- Includes unit tests and concurrent stress test
- All tests pass with 8 threads doing 8000 total increments

work on atomic_tbl
2026-02-11 21:47:45 -05:00

4 lines
87 B
Text

(test
(name atomic_tbl_test)
(modules atomic_tbl_test)
(libraries trace_landmarks))