@@ -3133,6 +3133,29 @@ (define-public ocaml-hmap
to which allows adding and looking up bindings in a type safe manner.")
(license license:isc)))
+(define-public ocaml-thread-table
+ (package
+ (name "ocaml-thread-table")
+ (version "1.0.0")
+ (home-page "https://github.com/ocaml-multicore/thread-table")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256 (base32
+ "05sla96m4lbfrnrjczj4xl1zbcwypir6krp4y16x50hz24ai12pc"))))
+ (build-system dune-build-system)
+ (arguments `(#:package "thread-table"))
+ (native-inputs (list ocaml-odoc ocaml-alcotest))
+ (synopsis "A lock-free thread-safe integer keyed hash table")
+ (description "Ocaml library implementing a minimalist lock-free thread-safe
+integer keyed hash table with zero synchronization overhead on lookups designed
+for associating thread specific state with threads within a domain.")
+ (license license:isc)))
+
(define ocaml-eio
(package
(name "ocaml-eio")