From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Cc: "Mümin A." <muminaydin06@gmail.com>
Subject: Re: Memory Barriers at pthread using CYGWIN
Date: Fri, 9 Jun 2023 09:22:33 +0900 [thread overview]
Message-ID: <20230609092233.952b3d191906006ba36ed36c@nifty.ne.jp> (raw)
In-Reply-To: <DBBPR03MB5382A108D7B3BA08918CE216A750A@DBBPR03MB5382.eurprd03.prod.outlook.com>
On Thu, 8 Jun 2023 22:58:59 +0000
Mümin A. wrote:
> 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.
I cannot reproduce your problem.
If I compile main.cpp with 'g++ main.cpp', a.exe outputs
r1 = 1, r2 = 1
If I use cmake, I get an error message:
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.26 or higher is required. You are running version 3.25.3
My environment is:
cygwin 3.4.6
g++ (GCC) 11.4.0
cmake version 3.25.3
all packages are updated.
--
Takashi Yano <takashi.yano@nifty.ne.jp>
next prev parent reply other threads:[~2023-06-09 0:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-08 14:29 Mümin A.
2023-06-08 14:37 ` [EXTERNAL] " Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2023-06-08 22:58 ` Mümin A.
2023-06-09 0:19 ` Kevin Schnitzius
2023-06-09 0:22 ` Takashi Yano [this message]
2023-06-09 1:44 ` Duncan Roe
[not found] <CAPxKPA6bRfF19pXrYT04TqbxettyYf=ypgfdySysqAJyB9BfxA@mail.gmail.com>
[not found] ` <CAPxKPA48sKPqwGc-jU7UQvQhsbT0N6A9LJXCAZeaa1rjeRtuNg@mail.gmail.com>
[not found] ` <96718c68-af84-45a5-9332-337ec4b2f04a@email.android.com>
2023-06-09 12:25 ` Takashi Yano
[not found] ` <64831a27.170a0220.1f805.81bfSMTPIN_ADDED_BROKEN@mx.google.com>
2023-06-10 4:08 ` Takashi Yano
2023-06-20 12:53 ` Takashi Yano
2023-06-22 10:19 ` Takashi Yano
2023-06-22 11:48 ` Corinna Vinschen
2023-06-22 23:49 ` Takashi Yano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230609092233.952b3d191906006ba36ed36c@nifty.ne.jp \
--to=takashi.yano@nifty.ne.jp \
--cc=cygwin@cygwin.com \
--cc=muminaydin06@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).