From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sGRuHce1YWGwOgEAgWs5BA (envelope-from ) for ; Sat, 09 Oct 2021 17:31:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sN85GMe1YWHARgAAB5/wlQ (envelope-from ) for ; Sat, 09 Oct 2021 15:31:19 +0000 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 A26757020 for ; Sat, 9 Oct 2021 17:31:18 +0200 (CEST) Received: from localhost ([::1]:54272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZEJC-0007Tn-RT for larch@yhetil.org; Sat, 09 Oct 2021 11:30:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZEIV-0007T5-TA for guix-patches@gnu.org; Sat, 09 Oct 2021 11:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42456) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZEIU-0004NO-2m for guix-patches@gnu.org; Sat, 09 Oct 2021 11:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZEIT-0000NX-Va for guix-patches@gnu.org; Sat, 09 Oct 2021 11:30:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51085] [PATCH v2 5/7] gnu: Add spscqueue. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Oct 2021 15:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51085 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51085@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51085-submit@debbugs.gnu.org id=B51085.16337933441344 (code B ref 51085); Sat, 09 Oct 2021 15:30:01 +0000 Received: (at 51085) by debbugs.gnu.org; 9 Oct 2021 15:29:04 +0000 Received: from localhost ([127.0.0.1]:53994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZEHY-0000Lc-1q for submit@debbugs.gnu.org; Sat, 09 Oct 2021 11:29:04 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZEHW-0000KO-1u for 51085@debbugs.gnu.org; Sat, 09 Oct 2021 11:29:02 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 5DE6E240101 for <51085@debbugs.gnu.org>; Sat, 9 Oct 2021 17:28:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1633793336; bh=MBJOxSHamwgS+6A4J7iuLLEXgiA2XdC+qRSbsJ6GwZQ=; h=From:To:Cc:Subject:Date:From; b=DDECt9pHxdDR3Tk8aanJR8UXfDOYR7ziycdZIFdD1TYIlb4JCdALbREchDnCmhexi +eGGofawtYVLAXLetOEO4iayjYLnwk+N1IH5eihdFY26hjiAy1/Et7+S2uyVl4VhJh AiP7i+2XV3mKKmlx8R58136DEr2e+LXiRX0ssvfATBV8f/e3P3fw8+kT93T0ZWr0AY EnD93hoKEwshTNuJefM7E9bQG0n3srkz2RbbsXZpATDTiJv+NXbJTqrRlhJaAihdBy sGKxdtxcjJYJUdZPmL+xSv/NFsQxF77D1eYk+0Qo4fVNavxbvDC4ps7zXldc4Ml2RF AC7tA3bkZJegg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HRTVb4PxFz9rxH; Sat, 9 Oct 2021 17:28:55 +0200 (CEST) From: Vinicius Monego Date: Sat, 9 Oct 2021 15:28:18 +0000 Message-Id: <20211009152820.294764-5-monego@posteo.net> In-Reply-To: <20211009152820.294764-1-monego@posteo.net> References: <20211009152820.294764-1-monego@posteo.net> 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633793478; h=from:from:sender:sender: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=/e6eM5y3+Wn8/Z8m8GYINU4BpKUtzLwDwfvcXxiLRo0=; b=TDFDqu7IRyKEEyS12Km/Sw+CJCKxVDEaB1JDwesOQ9HVfpgNni2nfigM8rQDHZFx7xsTv2 G6B0ZEW/+/C+nW2xdXSg6FtfMYIgEUT/kxkGJ19vLTPjOZ7sXxYDz9v1iiNB3D+lWKWQx7 Nwdiqq3Yxr6u5RGMdUh82UWaMRUjRmU5AW2/KbZ5iZMXZemhTqxBOLSU/lB8RKXF8ABxBM U7J4QxRFlRR6tfzSKIB58qfyNQvrqUrIkkyuRwnFdQevcBKUoWgQvxieSBCMsGuagg6EQg Wp5sCTgU2YakcqEXusdbn5Vxnm2kmLFNt7k5UU/BO0mdqbRwQhyasHJiUyqTqQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633793478; a=rsa-sha256; cv=none; b=MGo/9xvpDA9EZFgOgRbH7JB+Q1mAo1BdhBBToqpvwOrf3zwaJW1FBbUHcJZb276SeC1kK7 mm5cvgvbZaJ0CM2BjH1tuIDPvFiLtJLEw4QnZvyPjMkfKFFjgRnK/ZW6IRhkvHXtsHhpW/ hQersZwPC4aNtpPaKLDNOHHLdMTfWV71gMXUuutO9AfAJJ87GwcY1d3ysrxZixur59zC5h Fg0ehJx3l9ck6HFovQPKj5tJVDjoCpcCEa8Vy3JcNaJTJFkBfyvO7zxRrDj/vgY7lyQoKT k9xXFO5arZjqgJYmDeDp8Y+mtyNhH3n7hZ7jvxduba0QbFTW/yr+13laMFpdsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=DDECt9pH; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=DDECt9pH; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A26757020 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: WFNI3h7XUTPL * gnu/packages/cpp.scm (spscqueue): New variable. --- gnu/packages/cpp.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 104fe81e18..5298de7cbb 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -516,6 +516,27 @@ syntax highlighting. @code{ccls} is derived from @code{cquery} which is not maintained anymore.") (license license:asl2.0))) +(define-public spscqueue + (package + (name "spscqueue") + (version "1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rigtorp/SPSCQueue/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1428cj9x318afvnvnkhg0711iy4czqn86fi7ysgfhw91asa316rc")))) + (build-system cmake-build-system) + (home-page "https://github.com/rigtorp/SPSCQueue/") + (synopsis "Single producer single consumer queue written in C++11") + (description + "This package provides a single producer single consumer wait-free and +lock-free fixed size queue written in C++11.") + (license license:expat))) + (define-public gperftools (package (name "gperftools") -- 2.30.2