Re: Memory Barriers at pthread using CYGWIN

2023-06-08 Thread Duncan Roe via Cygwin
On Thu, Jun 08, 2023 at 05:29:59PM +0300, cygwin wrote: > Hi, > > I wrote a simple test for pthread_barrier_wait. it won't work as expected. > > result should be > > r1 = 1, r2 = 1 > > Thanks, > Mümin > cmake_minimum_required(VERSION 3.26) > > project(test) > > set(CMAKE_CXX_STANDARD 14) > set(CMA

Re: Memory Barriers at pthread using CYGWIN

2023-06-08 Thread Takashi Yano via Cygwin
On Thu, 8 Jun 2023 22:58:59 + 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

Re: [EXTERNAL] Memory Barriers at pthread using CYGWIN

2023-06-08 Thread Kevin Schnitzius via Cygwin
On Thursday, June 8, 2023 at 06:59:53 PM EDT, Mümin A. via Cygwin 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. > cmake . CMake Error

Re: [EXTERNAL] Memory Barriers at pthread using CYGWIN

2023-06-08 Thread Mümin A . via Cygwin
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 From: Lavrentiev, Anton (NIH/NLM/N

Re: [ANNOUNCEMENT] Updated: gcc-11.4.0-1

2023-06-08 Thread Achim Gratz via Cygwin
Jose Isaias Cabrera via Cygwin writes: >> Actually it's the first time it is officially available on Cygwin >> (and without a working runtime the next major release of gcc will >> again have to drop it as it would no longer bootstrap). > > Darn it! Darn D people. :-( Shining the spotlight on D out

RE: [EXTERNAL] Memory Barriers at pthread using CYGWIN

2023-06-08 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via 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: ht

Memory Barriers at pthread using CYGWIN

2023-06-08 Thread Mümin A . via Cygwin
Hi, I wrote a simple test for pthread_barrier_wait. it won't work as expected. result should be r1 = 1, r2 = 1 Thanks, Mümin cmake_minimum_required(VERSION 3.26) project(test) set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) add_definitions(-D__PO

[ANNOUNCEMENT] ruby-matrix 0.4.2

2023-06-08 Thread Daisuke Fujimura via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: - ruby-matrix - ruby-matrix-doc - https://cygwin.com/packages/summary/ruby-matrix-src.html -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https:/