[Openib-windows] Creating shared memory for performance counters
Fabian Tillier
Thu May 25 10:43:39 PDT 2006
- Previous message: [Openib-windows] Creating shared memory for performance counters
- Next message: [Openib-windows] OpenSM on Windows is broken
-
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Tzachi,
On 5/25/06, Tzachi Dar <tzachid at mellanox.co.il> wrote:
>
> Hi Fab,
>
> In the function IBSPPmInit the code checks if this shared memory was just
> created by using
>
> just_created = (GetLastError() != ERROR_ALREADY_EXISTS);
>
> However, as localfree might change the GetLastError value, this line should
> be moved two lines up (Just after CreateFileMapping).
I think the current code will work because if we get that far,
LocalFree must succeed (unless we have serious memory corruption).
Never the less, your suggestion is certainly more correct. Would you
mind making the change and committing it?
Thanks,
- Fab
- Previous message: [Openib-windows] Creating shared memory for performance counters
- Next message: [Openib-windows] OpenSM on Windows is broken
-
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the openib-windows mailing list