From patchwork Fri Nov 25 01:42:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 44836 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2269B27BBED; Fri, 25 Nov 2022 01:44:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, TVD_SPACE_RATIO,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3DB8827BBE9 for ; Fri, 25 Nov 2022 01:44:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyNl6-0006Lv-DJ; Thu, 24 Nov 2022 20:44:04 -0500 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 1oyNl4-0006LW-PI for guix-patches@gnu.org; Thu, 24 Nov 2022 20:44:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyNl4-0007rK-HN for guix-patches@gnu.org; Thu, 24 Nov 2022 20:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyNl4-0003L8-De for guix-patches@gnu.org; Thu, 24 Nov 2022 20:44:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59557] [PATCH] gnu: Add cl-concurrent-hash-tables. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Nov 2022 01:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59557 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59557@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166934060212763 (code B ref -1); Fri, 25 Nov 2022 01:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Nov 2022 01:43:22 +0000 Received: from localhost ([127.0.0.1]:32773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNkP-0003Jn-GY for submit@debbugs.gnu.org; Thu, 24 Nov 2022 20:43:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:37360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNkN-0003Jf-SL for submit@debbugs.gnu.org; Thu, 24 Nov 2022 20:43:20 -0500 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 1oyNkN-0006GY-Mm for guix-patches@gnu.org; Thu, 24 Nov 2022 20:43:19 -0500 Received: from mail-4018.proton.ch ([185.70.40.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyNkK-0007il-7S for guix-patches@gnu.org; Thu, 24 Nov 2022 20:43:19 -0500 Date: Fri, 25 Nov 2022 01:42:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1669340585; x=1669599785; bh=JdMy6JEGcwU1ArkuNH87Ci1CvZh86TyeE56ciD0KU1w=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=N1xzkKo4a72aauY6K1ShC5y+ple0dnnaDXoW3pTM04IoKdXtuvbcBhL26V27WnaSq cstPOudl5bzrtSMe4tb/oCOeMBRf1Wx2OyzpXlK3SYZbNL/J+bTvn59Lja26beUHSr XcPyrebcHSWL2xnuw6o4san0YIzyyfT/15K5Gabe62Sxam6PCxDMV/UNB9yF2x0wxy MHR+OEZvvzCukKmSPskPi63YsO9PJHP1C9tLUKy4s6WsaxlbdaKLckBmwyNdbPRLQY q6dCYT+vyT8a4UixvMqi4qIvx3MQgg7cKVFciOumoR9qMMUShsqj6/dzaE5+aOlWfn yyvLKZJ5QKyZw== From: "Paul A. Patience" Message-ID: <20221125014244.136801-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.18; envelope-from=paul@apatience.com; helo=mail-4018.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_SPACE_RATIO=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (sbcl-concurrent-hash-tables, cl-concurrent-hash-tables, ecl-concurrent-hash-tables): New variables. --- gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) -- 2.38.0 diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 55cc90b08a..005364a5ac 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -14031,6 +14031,39 @@ (define-public cl-custom-hash-table (define-public ecl-custom-hash-table (sbcl-package->ecl-package sbcl-custom-hash-table)) +(define-public sbcl-concurrent-hash-tables + (let ((commit "1b9f0b5da54fece4f42296e1bdacfcec0c370a5a") + (revision "0")) + (package + (name "sbcl-concurrent-hash-tables") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/no-defun-allowed/concurrent-hash-tables") + (commit commit))) + (file-name (git-file-name "cl-concurrent-hash-tables" version)) + (sha256 + (base32 "03g24ycr1ngzg8bv10iwp1bmnldz5bxbfdqrzhfxhicpibh49r96")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-atomics sbcl-bordeaux-threads)) + (home-page "https://github.com/no-defun-allowed/concurrent-hash-tables") + (synopsis "Portability library for concurrent hash tables in Common Lisp") + (description "@code{concurrent-hash-tables} is a Common Lisp portability +library wrapping some implementations of concurrent hash tables which do not +have to be entirely locked in their operation, including +@code{42nd-at-threadmill}, @code{luckless}, and a fallback, segmented hash +table.") + (license license:bsd-2)))) + +(define-public cl-concurrent-hash-tables + (sbcl-package->cl-source-package sbcl-concurrent-hash-tables)) + +(define-public ecl-concurrent-hash-tables + (sbcl-package->ecl-package sbcl-concurrent-hash-tables)) + (define-public sbcl-collectors (let ((commit "13acef25d8422d1d82e067b1861e513587c166ee")) (package