Re: SOLVED Cygwin address spaces issue
Posted: Fri Mar 02, 2012 8:39 am
fork() has always been a massive problem in porting Unix software to other operating systems. Unless the system has some similar feature (cloning the address space with CoW semantics), it's next to impossible to emulate.
That's just something you should be aware of if you're writing POSIX software with an eye on portability on POSIX-emulating systems.
I remember that a huge majority of the patches necessary to make POSIX software run on the Amiga consisted of replacing fork() with vfork() et al. - everything else was a piece of cake to emulate, but fork() was a female dog of questionable repute.
That's just something you should be aware of if you're writing POSIX software with an eye on portability on POSIX-emulating systems.
I remember that a huge majority of the patches necessary to make POSIX software run on the Amiga consisted of replacing fork() with vfork() et al. - everything else was a piece of cake to emulate, but fork() was a female dog of questionable repute.