Re: problem with mmap and fork()

2019-02-25 Thread Corinna Vinschen
On Feb 25 11:51, Houder wrote: > On Sat, 23 Feb 2019 05:54:18, Doug Henderson wrote: > > > On Fri, 22 Feb 2019 at 17:01, Glyn Gowing <> wrote: > > > I have a program (attached) that works correctly on my mac but does > > > not work with Cygwin on Windows 10. I'm running the latest version of > [s

Re: problem with mmap and fork()

2019-02-25 Thread Houder
On Sat, 23 Feb 2019 05:54:18, Doug Henderson wrote: > On Fri, 22 Feb 2019 at 17:01, Glyn Gowing <> wrote: > > I have a program (attached) that works correctly on my mac but does > > not work with Cygwin on Windows 10. I'm running the latest version of [snip] > On further analysis, the call to >

Re: problem with mmap and fork()

2019-02-24 Thread Houder
On Sat, 23 Feb 2019 05:54:18, Doug Henderson wrote: > On Fri, 22 Feb 2019 at 17:01, Glyn Gowing <> wrote: > > I have a program (attached) that works correctly on my mac but does > > not work with Cygwin on Windows 10. I'm running the latest version of [snip] > On further analysis, the call to >

Re: problem with mmap and fork()

2019-02-23 Thread Glyn Gowing
Thanks for confirming for me that cygwin can't do this with fork(). I guess I'll have to warn them about this difference in cygwin. I was hoping I had made a mistake somewhere. On Sat, Feb 23, 2019 at 6:54 AM Doug Henderson wrote: > > On Fri, 22 Feb 2019 at 17:01, Glyn Gowing <> wrote: > > I hav

Re: problem with mmap and fork()

2019-02-23 Thread Doug Henderson
On Fri, 22 Feb 2019 at 17:01, Glyn Gowing <> wrote: > I have a program (attached) that works correctly on my mac but does > not work with Cygwin on Windows 10. I'm running the latest version of > What happens in the buggy execution is that the child obtains a lock > before the parent releases it.

Re: problem with mmap and fork()

2019-02-23 Thread Václav Haisman
On 23. 02. 19 1:02, Glyn Gowing wrote: > Hello everyone, > > I have a program (attached) that works correctly on my mac but does > not work with Cygwin on Windows 10. I'm running the latest version of > Cygwin (downloaded the updates two days ago) and using gcc as the c > compiler. > > What happe

Re: problem with mmap and fork()

2019-02-22 Thread Doug Henderson
On Fri, 22 Feb 2019 at 17:01, Glyn Gowing <> wrote: > I have a program (attached) that works correctly on my mac but does > not work with Cygwin on Windows 10. I'm running the latest version of > What happens in the buggy execution is that the child obtains a lock > before the parent releases it.

problem with mmap and fork()

2019-02-22 Thread Glyn Gowing
Hello everyone, I have a program (attached) that works correctly on my mac but does not work with Cygwin on Windows 10. I'm running the latest version of Cygwin (downloaded the updates two days ago) and using gcc as the c compiler. What happens in the buggy execution is that the child obtains a l