From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Hans_=C3=85berg?= Newsgroups: gmane.lisp.guile.devel Subject: Re: [RFC,PATCH] Do not GC_INIT the Boehm GC if already initialized Date: Mon, 20 Feb 2023 23:00:02 +0100 Message-ID: <76D5C0B3-A878-40C6-851F-5148CA940CC8@telia.com> References: <87ttzybq3m.fsf@gnu.org> <42481ef3-1590-1aaa-aaf3-6405918dcbd5@telenet.be> <87k00clkg1.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16716"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Maxime Devos , "Jose E. Marchesi" , guile-devel@gnu.org To: =?utf-8?Q?Ludovic_Court=C3=A8s?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Mon Feb 20 23:00:45 2023 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUEDD-00049S-KC for guile-devel@m.gmane-mx.org; Mon, 20 Feb 2023 23:00:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUECz-0007mW-5i; Mon, 20 Feb 2023 17:00:29 -0500 Original-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 1pUECw-0007ko-HG for guile-devel@gnu.org; Mon, 20 Feb 2023 17:00:27 -0500 Original-Received: from ts201-smtpout75.ddc.teliasonera.net ([81.236.60.180]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUECu-0001tD-44; Mon, 20 Feb 2023 17:00:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telia.com; s=tssemail-202204; t=1676930424; bh=gW8Ac4rIuaUKpg7DSczMAo6EODloKapgHjcSiahe81I=; h=Mime-Version:Subject:From:In-Reply-To:Date:Message-Id:References:To; b=SeX00V8UFk9bO5jFuJu6ggb9ueST86UL78rRAJAXykhEuZYCpyn7FQ+MzyDoLicqKIBo/Mweqk0HA4+Tbj+afMXOq1hAhFavCfmvZ0kjCPA4OVouV2siIX8zY6Uy+s86FeZemE6dvFz4fJoYzDn1GpZ93rHRlbnYOGklh8fq3kQdEOrgt8PTAZKWlY7IPph7ZPmDDY+K40OBRAVX7Fyv9c3G3f2WbYoQq9AN57A8oCERoXKAce61FmJtvph1LJ8ZWVrYrcHs/DBMDLahHc7Z71pkz9lCU2/k53+VOLKbstAnJOEkIsw8iLGAxz42FRqwMnwhTEq5szVQBN7VTWL8FQ== X-RG-Rigid: 63C261C6010677E0 X-Originating-IP: [90.224.11.123] X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrudejhedgudeglecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfvgffnkfetufghpdggtfgfnhhsuhgsshgtrhhisggvpdfqfgfvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtjeenucfhrhhomhepjfgrnhhsucmpsggvrhhguceohhgrsggvrhhgqddusehtvghlihgrrdgtohhmqeenucggtffrrghtthgvrhhnpeekhffgtefgkeehjeegteeuieeitdfhffefgffhjeejveduvdffgefghffgkefhgeenucfkphepledtrddvvdegrdduuddruddvfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpihhnvghtpeeltddrvddvgedruddurdduvdefpdhmrghilhhfrhhomhepuhdvieeiudeludelieesphhnvgdrthgvlhhirgdrtghomhdpnhgspghrtghpthhtohepgedprhgtphhtthhopehguhhilhgvqdguvghvvghlsehgnhhurdhorhhgpdhrtghpthhtohepjhgvmhgrrhgthhesghhnuhdrohhrgh dprhgtphhtthhopehluhguohesghhnuhdrohhrghdprhgtphhtthhopehmrgigihhmvgguvghvohhssehtvghlvghnvghtrdgs X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Original-Received: from smtpclient.apple (90.224.11.123) by ts201-smtpout75.ddc.teliasonera.net (5.8.716) (authenticated as u26619196) id 63C261C6010677E0; Mon, 20 Feb 2023 23:00:13 +0100 In-Reply-To: <87k00clkg1.fsf@gnu.org> X-Mailer: Apple Mail (2.3731.400.51.1.1) Received-SPF: pass client-ip=81.236.60.180; envelope-from=haberg-1@telia.com; helo=ts201-smtpout75.ddc.teliasonera.net 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_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:21720 Archived-At: > On 20 Feb 2023, at 11:06, Ludovic Court=C3=A8s wrote: >=20 >> According to the Boehm GC documentation, this 'conditional >> initialisation' is unnecessary: >>=20 >> /* Portable clients should call this at the program start-up. More = */ >> /* over, some platforms require this call to be done strictly from = the*/ >> /* primordial thread. **Multiple invocations are harmless.** = */ >> #define GC_INIT() [...] >>=20 >> (emphasis added). >=20 > The =E2=80=9CMultiple invocations=E2=80=9D bit isn=E2=80=99t in libgc = 8.0.4. Which version are > you looking at? It is in MacPorts boehmgc @8.2.2 (devel), which Guile lists as a = dependency.