From patchwork Tue Mar 19 21:41:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 62001 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 8B80E27BBEA; Tue, 19 Mar 2024 21:44:17 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,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 65AA527BBED for ; Tue, 19 Mar 2024 21:44:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmhF7-0004ff-Lw; Tue, 19 Mar 2024 17:43:33 -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 1rmhF1-0004d3-LL for guix-patches@gnu.org; Tue, 19 Mar 2024 17:43:27 -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 1rmhEy-0004Uc-AX for guix-patches@gnu.org; Tue, 19 Mar 2024 17:43:25 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmhFa-0002KJ-Tz; Tue, 19 Mar 2024 17:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69904] [PATCH 03/10] gnu: Add cl-trivial-monitored-thread. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 21:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69904 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69904@debbugs.gnu.org Cc: Sharlatan Hellseher , Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 69904-submit@debbugs.gnu.org id=B69904.17108846128737 (code B ref 69904); Tue, 19 Mar 2024 21:44:02 +0000 Received: (at 69904) by debbugs.gnu.org; 19 Mar 2024 21:43:32 +0000 Received: from localhost ([127.0.0.1]:36102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmhF6-0002Gi-6O for submit@debbugs.gnu.org; Tue, 19 Mar 2024 17:43:32 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:56490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmhF0-0002FG-JY for 69904@debbugs.gnu.org; Tue, 19 Mar 2024 17:43:27 -0400 Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-33e672e10cfso3167038f8f.0 for <69904@debbugs.gnu.org>; Tue, 19 Mar 2024 14:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710884502; x=1711489302; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9+1HitidLMRv5AXW8/jm1+uXM94kXh1vMuLWjKaRDas=; b=MZJfu5wlVK133TLBQqLAvUA8ThrQfPjOruNVa6xeiV8Ao9VN0/zslejHC/zDVtEwCN iLXwc3yZfBdw7XVB7pspvJf+LEN/SCVH+mAKkV/jiugkphlV3CYAS2r/+P8xKZpgEkJm pNcuyoZgFnBwH9M5POYaAVOGIicxYMN/g3yQkDyPHzMGY9no8sec8HFdYBr1dhOCZWbg mJm9FRk4eqpe2oFT4G3FJNQnlysAUpowYM4AEZh3O255U5ffY58a5h7MZ0a25ZezJW5J jlobYLOX/Rh5gmlM44pIyaJzifxFmBVHW+Iew4D/JAOBvfDcJlws7CYpLefg5cX7Wpt2 kFmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710884502; x=1711489302; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9+1HitidLMRv5AXW8/jm1+uXM94kXh1vMuLWjKaRDas=; b=XkmNc7ZncItPslCNiVPKVVpDhXpiq+GJutDsHeEwtxfbZ/F1gc0fJD6qlZenDP2slg comBj+iO9Nl0QuCqRf5pmq7y42eI+SU58+HoamHoI1jNc3RlDID96F+EvKMLKTPo8WzS mWKgkblxda3NBuL3rNiiTkO1w3XLOvVL325+lMpZe/bgPfCb6kr+CV8p5eY9TcyS0EWi bCCUUjjY25oWqRdcij217zdAFNQ6Xza3NYAd9lHPnMV1oYDwPQJsD0lpPNXyCBp98qbP HlbPpcA0VKuC67fson37DGUjx+4Dm4KmLKqsJEGA3tNbkehNumTHq4mbO8AP1qECvLlV OpOQ== X-Gm-Message-State: AOJu0YwYbemHLcJ5TDDrTeHibd9aU3Jotv7ptNN7bC4xfSwE7BM/vThL YOS3Nf6WXqIofo5E84uU9UTEunDlQSDobXHYSybHut4H3F1kggJNB7uT5TFN3bg= X-Google-Smtp-Source: AGHT+IETjc9P5BSTNZmc0MBaUxEacIusgMnwggdd1ZJYXQRaG3gkmKupLbQPVvW8XMvyP4O9Jmc7+g== X-Received: by 2002:a5d:4f91:0:b0:33e:1ee1:ef92 with SMTP id d17-20020a5d4f91000000b0033e1ee1ef92mr190166wru.67.1710884501847; Tue, 19 Mar 2024 14:41:41 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id k4-20020adfe3c4000000b0033e48db23bdsm13232957wrm.100.2024.03.19.14.41.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 14:41:41 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 19 Mar 2024 21:41:29 +0000 Message-ID: <978884fc78562459be498542255a7003ded5f25c.1710883390.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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 (cl-trivial-monitored-thread, ecl-trivial-monitored-thread, sbcl-trivial-monitored-thread): New variables. Change-Id: I5da3c72e8437d368057aa7a7305e724141dfe09c --- gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index c3d199a890..b92f2a7fb3 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -21312,6 +21312,39 @@ (define-public ecl-trivial-main-thread (define-public cl-trivial-main-thread (sbcl-package->cl-source-package sbcl-trivial-main-thread)) +(define-public sbcl-trivial-monitored-thread + (let ((commit "b0bab23f9a9bd06f0f33809635c7ba4e6a3d5a21") + (revision "0")) + (package + (name "sbcl-trivial-monitored-thread") + (version (git-version "0.3.11" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/ediethelm/trivial-monitored-thread") + (commit commit))) + (file-name (git-file-name "trivial-monitored-thread" version)) + (sha256 + (base32 "1ipnp2l944hc587bifxsnmiymw468imar0v8bqvgxv8pc5sym4ib")))) + (build-system asdf-build-system/sbcl) + (native-inputs + (list sbcl-fiveam)) + (inputs + (list sbcl-iterate sbcl-log4cl sbcl-trivial-utilities)) + (home-page "https://gitlab.com/ediethelm/trivial-monitored-thread") + (synopsis "Thread monitoring library for Common Lisp") + (description + "Trivial Monitored Thread offers a very simple (aka trivial) way of +spawning threads and being informed when one any of them crash and die.") + (license license:expat)))) + +(define-public cl-trivial-monitored-thread + (sbcl-package->cl-source-package sbcl-trivial-monitored-thread)) + +(define-public ecl-trivial-monitored-thread + (sbcl-package->ecl-package sbcl-trivial-monitored-thread)) + (define-public sbcl-moira (let ((commit "21f1cfd5942fcaea2ed2e4f6055b2a5a39ac4c6e") (revision "0"))