[Openib-windows] Creating shared memory for performance counters
    Tzachi Dar 
    tzachid at mellanox.co.il
       
    Thu May 25 09:10:43 PDT 2006
    
    
  
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).
 
Thanks
Tzachi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20060525/a67e47bd/attachment.html>
    
    
More information about the ofw
mailing list