[SciPy-user] shared memory machines
Sturla Molden
sturla at molden.no
Tue Feb 10 08:01:28 EST 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