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

problem with mmap and fork()

2019-02-22 Thread Glyn Gowing
Thanks. // smtest2.c // // Dr. Glyn Gowing // LeTourneau University // COSC 4653 - Advanced Networks // // This program demonstrates how to use a lock with fork()ed processes by using // shared memory. #include // needed for printf #include // needed for mmap #include // need