X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 47DCB3858C2F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1686265159;
	bh=YHdWx6EmWw8wfpz2Y5a0qpekBTegOPhlxL/o2/rVXuA=;
	h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=OmQs/P+xxIykA1tvPxqOYKYpEuH5uCjqZBi9pLqZpCCqn61e7YCDs8tkbaYI+nR5k
	 f6fGmJTuYe/xZxX74Z2dZbT1fM6HodtVHqInqoLPO/BP3EfW0rxZxSgSe2uQrTAZRm
	 UoQ55H0itqAvoxk5xRFOvJtgCCXbr4cqHPe5hoYE=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7BE183858C20
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1686265142; x=1688857142;
 h=mime-version:content-language:accept-language:in-reply-to
 :references:message-id:date:thread-index:thread-topic:subject:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=liG5ioSOP3Y0hVOm9of0FyiH5Pl4QP4ktBNy4nhyulQ=;
 b=ky8OMlQOC+LF87BVdSl4Nfy6HaLx7huVGauZ+nOapW46L2uHh8KRzXQZt1yFMahfKG
 lr6LFqYIj0VYCpvYyImhgvhwrXN2qJU4vfs2lD7yg/KVL/tm5fcwj8FroJWaW6YbAzwv
 h+wWCj5wCLJsAwA+Um0xPYBxG9s07gFWzn1UFlmY439xh+z/+IsMQVdbxNrAgrtbjKM0
 uiIrJyhfDbeEuGBh67CvbakmjZUY0MaQQhGvEDJ5Ojkxwqkb2mgJKQ3S8zDLuY5fGdQj
 mFkqGTSTsNPyAF9j2OdjietC7cxSMw4dHiSyGOyFYNpXuLIrLQrx7UUIQ8tCot/BtHYM
 EeYQ==
X-Gm-Message-State: AC+VfDy6bNVpAGq7rPDfXodRpz3x5FmWUxLKZS8TFJd+cU06pcrbRoBV
 tZIN1zLIZIvctzhUWFe0yHX2n41so+4=
X-Google-Smtp-Source: ACHHUZ7zI2UcUzZ0YgN9ZR7xKf9DJF2xEmhGEaaiieNc0aLzI5XvbuCoGmZABbXf71wF6bGtCLw9ww==
X-Received: by 2002:a17:907:da8:b0:970:132f:698f with SMTP id
 go40-20020a1709070da800b00970132f698fmr654169ejc.2.1686265141933; 
 Thu, 08 Jun 2023 15:59:01 -0700 (PDT)
To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>,
        "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: [EXTERNAL] Memory Barriers at pthread using CYGWIN
Thread-Topic: [EXTERNAL] Memory Barriers at pthread using CYGWIN
Thread-Index: AXc9UUdP/EThMrVczhZLkT/h1u6XacS5ivSAgACLRBE=
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Thu, 8 Jun 2023 22:58:59 +0000
Message-ID: <DBBPR03MB5382A108D7B3BA08918CE216A750A@DBBPR03MB5382.eurprd03.prod.outlook.com>
References: <CAPxKPA79MOTXkUEKUPFGSWdHr_O93Q44kXs_CbN=YoxfpqJhcw@mail.gmail.com>
 <DM8PR09MB709532F0F9773373961858ADA550A@DM8PR09MB7095.namprd09.prod.outlook.com>
In-Reply-To: <DM8PR09MB709532F0F9773373961858ADA550A@DM8PR09MB7095.namprd09.prod.outlook.com>
Accept-Language: tr-TR, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator: 
X-MS-Exchange-Organization-RecordReviewCfmType: 0
MIME-Version: 1.0
X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
 FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
 SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: =?utf-8?q?M=C3=BCmin_A=2E_via_Cygwin?= <cygwin@cygwin.com>
Reply-To: =?Windows-1252?Q?M=FCmin_A=2E?= <muminaydin06@gmail.com>
Content-Type: text/plain; charset="windows-1252"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 358MxgTY001011

r1=0 and r2=0
That is my result with Cygwin on windows. It’s false.

When I compiled with gcc. The result is correct but when I use lasted Cygwin gcc in windows 10. The result is false.


Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] <lavr@ncbi.nlm.nih.gov>
Sent: Thursday, June 8, 2023 5:37:31 PM
To: Mümin A. <muminaydin06@gmail.com>; cygwin@cygwin.com <cygwin@cygwin.com>
Subject: RE: [EXTERNAL] Memory Barriers at pthread using CYGWIN

> result should be
>
> r1 = 1, r2 = 1
>

And what was the result you saw?

Anton Lavrentiev
Contractor NIH/NLM/NCBI


-- 
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

