[vtk-developers] Faster MTime implementation for gcc

David Gobbi david.gobbi at gmail.com
Mon Apr 18 09:59:15 EDT 2011


I've posted a patch on gerrit for atomic timestamp modification
under gcc, clang, and icc on Linux and UNIX platforms:
http://review.source.kitware.com/#change,1428

It does a TRY_COMPILE for the __sync_add_and_fetch() builtin,
and uses it in vtkTimeStamp::Modified() instead of a mutex lock.

 - David



More information about the vtk-developers mailing list