Home > Web Site Updates > CMemMapFile v1.56

CMemMapFile v1.56

March 15, 2012

Just to let everyone know that v1.56 of CMemMapFile has been released. Updates for this version include:

  • Updated copyright details
  • Made the class completely thread-safe meaning that you can share instances of CMemMapFile across threads without worrying about corruption of its member variables. Thanks to HaeRim Lee for prompting this update. To achieve this I used a nested class called CMemMapCriticalSection which is derived from the ATL::CCriticalSection class. This CMemMapCriticalSection class provides for critical sections with spin locks and normal critical sections as well as stack based release semantics for critical sections through the use of the ATL::CComCritSecLock class. It would be nice if the built in ATL CriticalSection class supported this but this is still not present as of VC 2010 SP1.
Advertisements
Categories: Web Site Updates
%d bloggers like this: