From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eCS5LLy7k2aoDgAAqHPOHw:P1 (envelope-from ) for ; Sun, 14 Jul 2024 11:51:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eCS5LLy7k2aoDgAAqHPOHw (envelope-from ) for ; Sun, 14 Jul 2024 13:51:24 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=tWubCmmo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720957884; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BtDpBmpfMucDl5rjmRJrwhWsBv9/oJYm7+/fAFc1Yuk=; b=VOvVdpqpaXLf0Xavrjut/SbNw3Wdra3xMq8hfhcUnOXw9SnzTOcvkpjBY9GLqX/yE5hbgm XEwuw4Xat8vYpn9wF5nBpaK3L9gztF0ylININIgjfdiHjqTuSPWkjcidssDpBRKP26THIp Cj1+ZjbTCbgFReJFVp+pUljy+N5EeW9v7BOjYduODC1gxpYepmUS9HfFQgS2WEXFxvL6Mb pYIIqcm7o0zDVgMSIGl7Is7UCfOx2E8cOmly/CKSxH0R5GodNTUBWXj20tr+FnsoTGqLHM 3rDcYEvgISlvTq364v+yaUvSChEcFA9beZfT89+56z4kU8rizRMYOpPbkkbK6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=tWubCmmo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720957884; a=rsa-sha256; cv=none; b=JlifSYXduWr5vw7fDp6BcWTKnzd+j6cduH8Vou33xrzg4+kdbNhVSP5IYOtJIuUKhCKmyw svVOc0k+EII+zCt/ekK8nv0QJBucr1csqH6cqMijudfqvTaKFwsiR9pwSyeoXO1hJCrDHQ TAZ/qXNqIdgOBCbq0Asc3lVH7ch8mjGJswi6lSzJdmqOu4QddPN76s36/krZkfROegaw+p 3GDhQRHQ4JMvJHb0keK5N84i2nT7uHEKGgBOBaR52OBM4BNRDMr7QV+z34OtJBPFa+A9PL fu9zf2ziz8ojXlqcskXsiX3tUvlCPgAbhGOvODUsu6nZOma43s2KBCxVYzlf6w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9E7D38AB4 for ; Sun, 14 Jul 2024 13:51:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSxkv-00035h-2i; Sun, 14 Jul 2024 07:51:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sSxks-00034n-QS for guix-patches@gnu.org; Sun, 14 Jul 2024 07:51:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sSxks-0006Ey-IC for guix-patches@gnu.org; Sun, 14 Jul 2024 07:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSxkt-00042P-Rs; Sun, 14 Jul 2024 07:51:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72107] [PATCH 2/5] gnu: Add ocaml-thread-table. Resent-From: Benjamin Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Sun, 14 Jul 2024 11:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72107 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72107@debbugs.gnu.org Cc: Benjamin , Julien Lepiller , pukkamustard X-Debbugs-Original-Xcc: Julien Lepiller , pukkamustard Received: via spool by 72107-submit@debbugs.gnu.org id=B72107.172095785115476 (code B ref 72107); Sun, 14 Jul 2024 11:51:03 +0000 Received: (at 72107) by debbugs.gnu.org; 14 Jul 2024 11:50:51 +0000 Received: from localhost ([127.0.0.1]:57236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSxkg-00041T-Vh for submit@debbugs.gnu.org; Sun, 14 Jul 2024 07:50:51 -0400 Received: from mail.uvy.fr ([146.59.197.40]:41594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSxkf-00041G-HE for 72107@debbugs.gnu.org; Sun, 14 Jul 2024 07:50:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uvy.fr; s=202105; t=1720957812; bh=saM3ugpTpHDhRv1is0lMK2YgDSkPayozbasn58uWPM4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=tWubCmmoc4QT6dhJp2fv1oXWy2VqxwzT+gJ7nmBFxi0fAxR9oR7cEBgtfSFj4C7dZ Neii2pzYNw7KifwE0v8rgXTeSQM0uAXLZ4R9xNKnfqEwy7528qmJ4CVpOrp9ae5sph dFHyLPyqKqRrsRw3kURaCRXteQ+nyenpaOxf9r70tbsuhYizdZ0mEzHOPUVo/O82ZS 89WIDpbTsWVPpdo9mERu83Hk5p1/vLSl0OEcOFA0tgxRWMuAbj+t3tfgwyQDqgKsYw Pq+PevTYIC/vJWk3UdsG/kaGt2ZeI1MkRvJlRBr/C/2bWFYZ8ejQ5dtRLm182t8Bz0 k3ZXr64Y5a91Q== Date: Sun, 14 Jul 2024 13:49:49 +0200 Message-ID: <62b3c0488e059e026271c2ef4c88fa8aa3e5d00f.1720956786.git.benjamin@uvy.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Benjamin X-ACL-Warn: , Benjamin via Guix-patches From: Benjamin via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.40 X-Migadu-Queue-Id: 9E7D38AB4 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.40 X-TUID: hS0QBESnjQYt * 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