[SciPy-user] shared memory machines

Sturla Molden sturla@molden...
Tue Feb 10 07:01:28 CST 2009

On 2/10/2009 6:05 AM, Philip Semanchuk wrote:

> How does the Windows API resolve name/key collisions?

Right. On Windows a name is a string, and an UUIDs should be unique to 
the system. If a name exists, CreateFileMapping fails and GetLastError 
returns ERROR_INVALID_HANDLE. If the object alredy exist in the process, 
CreateFileMapping returns a valid handle but GetLastError returns 
ERROR_ALREADY_EXISTS. I'll put som some tests for that to be pedantic,
albeit UUIDs should be unique.

Sturla Molden

More information about the SciPy-user mailing list