From patchwork Tue May 21 12:14:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 1102719 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-501331-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 457ZTf2hK1z9sB8 for ; Tue, 21 May 2019 22:15:12 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=ABapbagntgpWa1qOJ88kGPWPPcSKwxe4tIFS1oZEpgDDSnDPAadhw +uJDDmVjoQby6iSPDJV89F5j6VOA4FxS5CTgoAnBVR4LSn3ZfCT4rdWSGpuBVEPb hQUSq7mXP4Qag49JptfLH39WOZIG6iR3hNE8jUA3x5IkzJxzsww0mw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=LWeErTEtYvZIgt3rtgkkvxMq2e4=; b=kfr0EWrkZ0N+Ln+TgxmK gMOmKY/NnIBV72gjTwA4Whbo04pc19W+qeLTdEG4UK6K164JlpMS1lnwnY5hHixa xpzQ41mQKWdfx2pzXEGwUWPDI5II3oNlLYbNPTQi7p4okag89+P8SwDHeyVWsDjW +Z9F8Tic0vG+066WfA+0NiM= Received: (qmail 62345 invoked by alias); 21 May 2019 12:14:56 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 62330 invoked by uid 89); 21 May 2019 12:14:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=para, lock X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 May 2019 12:14:55 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 90E7B30C1FF2; Tue, 21 May 2019 12:14:51 +0000 (UTC) Received: from localhost (unknown [10.33.36.109]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3E4BC61084; Tue, 21 May 2019 12:14:51 +0000 (UTC) Date: Tue, 21 May 2019 13:14:50 +0100 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH] Fix names of _Lock_policy constants in libstdc++ manual Message-ID: <20190521121450.GA28269@redhat.com> MIME-Version: 1.0 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.11.3 (2019-02-01) * doc/xml/manual/shared_ptr.xml: Fix names of lock policy constants. I'll commit this to trunk shortly (and maybe backport it in my next round of doc backports). commit b82fec365a7d9404b94bf5df8b9c1266b3bd4c38 Author: Jonathan Wakely Date: Tue May 21 12:29:55 2019 +0100 Fix names of _Lock_policy constants in libstdc++ manual * doc/xml/manual/shared_ptr.xml: Fix names of lock policy constants. diff --git a/libstdc++-v3/doc/xml/manual/shared_ptr.xml b/libstdc++-v3/doc/xml/manual/shared_ptr.xml index fcbade6d5bf..24e275e95eb 100644 --- a/libstdc++-v3/doc/xml/manual/shared_ptr.xml +++ b/libstdc++-v3/doc/xml/manual/shared_ptr.xml @@ -239,7 +239,7 @@ available policies are: - _S_Atomic + _S_atomic Selected when GCC supports a builtin atomic compare-and-swap operation @@ -252,7 +252,7 @@ synchronisation. - _S_Mutex + _S_mutex The _Sp_counted_base specialization for this policy contains a mutex, @@ -263,7 +263,7 @@ builtins aren't available so explicit memory barriers are needed in places. - _S_Single + _S_single This policy uses a non-reentrant add_ref_lock() with no locking. It is