ocaml-trace/test/landmarks
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
..
atomic_tbl_test.ml Add lock-free atomic hashtable for string->atomic int mapping 2026-02-11 21:47:45 -05:00
dune Add lock-free atomic hashtable for string->atomic int mapping 2026-02-11 21:47:45 -05:00