Re: CreateFileMapping/MapViewOfFile and fork

2007-03-06 Thread Christopher Faylor
On Tue, Mar 06, 2007 at 10:06:33PM -0500, Sean Daley wrote: >As part of an application we're developing, we use >CreateFileMapping/MapViewOfFile to be able to share information among >processes. I noticed today that if I try to reference the map >immediately after calling fork() but before calling

CreateFileMapping/MapViewOfFile and fork

2007-03-06 Thread Sean Daley
As part of an application we're developing, we use CreateFileMapping/MapViewOfFile to be able to share information among processes. I noticed today that if I try to reference the map immediately after calling fork() but before calling exec, that my application will crash. I should be able to res

CreateFileMapping/MapViewOfFile and fork

2007-03-06 Thread Sean Daley
As part of an application we're developing, we use CreateFileMapping/MapViewOfFile to be able to share information among processes. I noticed today that if I try to reference the map immediately after calling fork() but before calling exec, that my application will crash. I should be able to res