From: Benjamin via Guix-patches via <guix-patches@gnu.org>
To: 72107@debbugs.gnu.org
Cc: Benjamin <benjamin@uvy.fr>, Julien Lepiller <julien@lepiller.eu>,
pukkamustard <pukkamustard@posteo.net>
Subject: [bug#72107] [PATCH 2/5] gnu: Add ocaml-thread-table.
Date: Sun, 14 Jul 2024 13:49:49 +0200 [thread overview]
Message-ID: <62b3c0488e059e026271c2ef4c88fa8aa3e5d00f.1720956786.git.benjamin@uvy.fr> (raw)
In-Reply-To: <cover.1720956786.git.benjamin@uvy.fr>
* gnu/packages/ocaml.scm (ocaml-thread-table): New variable.
Change-Id: If0175f44e6959befc539a399bd8bdebdcb41ba1b
---
gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index fa84ea73a5..a6fb5af138 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -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")
--
2.45.2
next prev parent reply other threads:[~2024-07-14 11:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-14 11:44 [bug#72107] [PATCH 0/5] gnu: ocaml-eio: Update to 0.12 Benjamin via Guix-patches via
2024-07-14 11:49 ` [bug#72107] [PATCH 1/5] gnu: ocaml-mdx: Update to 2.4.1 Benjamin via Guix-patches via
2024-07-14 11:49 ` Benjamin via Guix-patches via [this message]
2024-07-14 11:49 ` [bug#72107] [PATCH 3/5] gnu: Add ocaml-domain-schims Benjamin via Guix-patches via
2024-07-14 11:49 ` [bug#72107] [PATCH 4/5] gnu: Add ocaml-domain-local-await Benjamin via Guix-patches via
2024-07-14 11:49 ` [bug#72107] [PATCH 5/5] gnu: ocaml-eio: Update to 0.12 Benjamin via Guix-patches via
2024-07-26 23:58 ` [bug#72107] [PATCH 0/5] " jgart via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=62b3c0488e059e026271c2ef4c88fa8aa3e5d00f.1720956786.git.benjamin@uvy.fr \
--to=guix-patches@gnu.org \
--cc=72107@debbugs.gnu.org \
--cc=benjamin@uvy.fr \
--cc=julien@lepiller.eu \
--cc=pukkamustard@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.