www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/03/23/12:44:40

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 62NGidUX3625721
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 62NGidUX3625721
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=FapBJ2z1
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E08F04BAD167
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1774284278;
bh=PAxPqaIfjh4+TvIYGXXWVMGCt1n3/ToxD6MQ724V1jo=;
h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=FapBJ2z1L0uP3WjM+AAL99nmGzYpfdj6ngSPmJ6Un5Rg4ZiQez4nR4AR12OPBJBO4
rNnC78YDKHakAhiCBN5qI0VWvzNQk/ZXSdZv3TtWE4HELrjeFmAbIIRGs4zZoVFGBc
jdOjoE4SKN0fCdtgypK5xFsgAM7dEPeHgHQXd1SE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BF8E94BAD16C
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BF8E94BAD16C
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774284228; cv=none;
b=AtkLpjx0oJt0m9ogfzAIBUDjJG0cn2/sGpJ9mfcN0tFI3qm9K8wH4I8oX4S3AJgoTEd2NKIe2ZnlbYsKaWe+tQ+aMQhA9QplpLldPOrL6e2PYX4IdAdi/Ymd/1hkTLnOap082oWrUwyHIBfzep0wB6lUrbE+qgo1XTLfzj3EEIw=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1774284228; c=relaxed/simple;
bh=37Y5OwmVeYi2NquhSHmzR+LJmDhX9IUqG4RjBlppcQo=;
h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
b=N2/SLJoWKWtuJfyHG311SOQP86+EloptJgFrAWJdih5C/m3aAVaKi8LJw/x1QIQIoA7icRwD6Wa7gejoh6Tr53XahDpjP2Mt9rEiK3LgylBiCAfmDf/h5YvkY5LAoSHFqsvnjEBxFIUUYxGDDRo6Rnbs2T9sX0/xvz2D5/ye3Jw=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF8E94BAD16C
To: cygwin AT cygwin DOT com
Subject: Re: std::mutex bug: Windows handle growth
In-Reply-To: <acEU5Zu2SBB72-2F@calimero.vinschen.de> (Corinna Vinschen via
Cygwin's message of "Mon, 23 Mar 2026 11:24:37 +0100")
References: <2d48a740-ce2b-4259-8947-f5c875dd1672 AT hvc DOT rr DOT com>
<87tsu97xr1 DOT fsf AT Gerda DOT invalid> <acEU5Zu2SBB72-2F AT calimero DOT vinschen DOT de>
Date: Mon, 23 Mar 2026 17:43:36 +0100
Message-ID: <87se9qpkcn.fsf@Gerda.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
X-purgate-server: smtpa06
X-purgate-type: clean
X-purgate: clean
X-purgate-size: 782
X-purgate-ID: 155817::1774284225-B9640C15-61E2ECAF/0/0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: ASSI via Cygwin <cygwin AT cygwin DOT com>
Reply-To: ASSI <Stromeko AT nexgo DOT de>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Corinna Vinschen via Cygwin writes:
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684
>
> Reading this bug report, wouldn't just defining
> _GTHREAD_USE_MUTEX_INIT_FUNC for Cygwin have the same effect?

Yes, but it would also use an initializer function instead of a static
initializer.  Whether that would have any noticeable performance impact
is unclear, but w.r.t. POSIX it's clear that it's no problem to use a
static initializer, just unspecified whether the destructor is trivial
or not.  These two issues should not be mixed up in one configuration
item IMHO.



Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019