Re: PTHREAD_PROCESS_SHARED not implemented (was PTHREAD_MUTEX_SHARED on Cygwin)

2021-01-10 Thread Noel Grandin via Cygwin
On 2021/01/10 12:16 am, Brian Inglis wrote: For more about Windows limitations and alternatives see: https://www.boost.org/doc/libs/1_75_0/doc/html/interprocess/sharedmemorybetweenprocesses.html#interprocess.sharedmemorybetweenprocesses.sharedmemory.emulation For the specific case of int

Re: PTHREAD_MUTEX_SHARED on Cygwin

2021-01-10 Thread Thomas Koenig via Cygwin
I wrote: Is it correct that PTHREAD_PROCESS_SHARED is not supported on Cygwin?  Is it supported for condition variables, or is the fact that it is reported as working an oversight? First, thanks for the replies. I'll give sort of a compound answer. Brian Inglis wrote: >> The function is supp

Re: PTHREAD_PROCESS_SHARED not implemented (was PTHREAD_MUTEX_SHARED on Cygwin)

2021-01-09 Thread Brian Inglis
On 2021-01-09 15:16, Brian Inglis wrote: On 2021-01-09 12:58, Brian Inglis wrote: On 2021-01-09 11:23, Thomas Koenig via Cygwin wrote: there is a branch of gfortran for implementing coarrays based on a shared memory implementation instead of MPI, the devel_coarray/native branch. I tried it out

Re: PTHREAD_PROCESS_SHARED not implemented (was PTHREAD_MUTEX_SHARED on Cygwin)

2021-01-09 Thread Brian Inglis
On 2021-01-09 12:58, Brian Inglis wrote: On 2021-01-09 11:23, Thomas Koenig via Cygwin wrote: there is a branch of gfortran for implementing coarrays based on a shared memory implementation instead of MPI, the devel_coarray/native branch. I tried it out on Cygwin, but it doesn't work there (han

Re: PTHREAD_MUTEX_SHARED on Cygwin

2021-01-09 Thread Marco Atzeri via Cygwin
On 09.01.2021 19:23, Thomas Koenig via Cygwin wrote: Hi, there is a branch of gfortran for implementing coarrays based on a shared memory implementation instead of MPI, the devel_coarray/native branch. I tried it out on Cygwin, but it doesn't work there (hangs on the first sync). The branch u

Re: PTHREAD_MUTEX_SHARED on Cygwin

2021-01-09 Thread Brian Inglis
On 2021-01-09 11:23, Thomas Koenig via Cygwin wrote: there is a branch of gfortran for implementing coarrays based on a shared memory implementation instead of MPI, the devel_coarray/native branch. I tried it out on Cygwin, but it doesn't work there (hangs on the first sync). The branch uses pt

PTHREAD_MUTEX_SHARED on Cygwin

2021-01-09 Thread Thomas Koenig via Cygwin
Hi, there is a branch of gfortran for implementing coarrays based on a shared memory implementation instead of MPI, the devel_coarray/native branch. I tried it out on Cygwin, but it doesn't work there (hangs on the first sync). The branch uses pthread mutexes and condition variables with PTHRE