From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from latitanza.investici.org (latitanza.investici.org [82.94.249.234]) by sourceware.org (Postfix) with ESMTPS id 73FB0385841F; Wed, 2 Nov 2022 21:40:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 73FB0385841F Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=autistici.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=autistici.org Received: from 1.mail-backend.investici.org (unknown [10.0.0.11]) by latitanza.investici.org (Postfix) with ESMTP id 4N2gKT6302zGnxd; Wed, 2 Nov 2022 21:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1667425213; bh=8NWIY6egwegggPxYNsz4xltCcVAVJpc1FjLaP3SA1cc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=E++qb+K+Lpkq4V+zBK44ObE2KkJCHYIIn9qPjmio+JNwghEqTSPSsDkMoHs0SYpOj M8V1mpdXZv9ioXaP05fRrxygEnkb+eFWdqXYicQCgKO0mw6GaFydgZu0RtLYI9qma4 1R6Jm8Hag1nscxggku91BwLp6cOWf2nSAS0NJekA= Received: from 1.webmail.investici.org (localhost [127.0.0.1]) (Authenticated sender: i.nixman@autistici.org) by 1.mail-backend.investici.org (Postfix) with ESMTPA id 4N2gKT4gQZz5tCB; Wed, 2 Nov 2022 21:40:13 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 02 Nov 2022 21:40:13 +0000 From: i.nixman@autistici.org To: Eric Botcazou Cc: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: Adding a new thread model to GCC In-Reply-To: <5630429.DvuYhMxLoT@fomalhaut> References: <0f1f223a-3756-1da3-bd1d-b87edd34e1f9@126.com> <2653976.mvXUDI8C0e@fomalhaut> <966d57cf952e294ddfda6077b1a0075c@autistici.org> <5630429.DvuYhMxLoT@fomalhaut> User-Agent: Roundcube Webmail Message-ID: X-Sender: i.nixman@autistici.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2022-11-02 21:27, Eric Botcazou wrote: > Great! Did you check that C++ threads are enabled in your build? If > they > are, you must be able to run the attached C++ test; if they are not > (because > the MinGW64 build is configured for older versions of Windows), you > need to > configure the compiler with the option --enable-libstdcxx-threads. I already checked everything before, but now I re-checked it again - everything works! the output: $ ./t Start thread 0 Start thread 1 Start thread 2 Start thread 3 thank you!