[vtk-developers] vtkAtomic vs std::atomic, can we change yet?
robert.maynard at kitware.com
Tue Oct 3 08:40:44 EDT 2017
Are you asking about replacing just the
Core/SMP/Sequential/vtkAtomic.cxx implementation or are you also
interested in removing all the per SMP implementations?
Using http://en.cppreference.com/w/cpp/compiler_support we can see
that std::atomic is fully supported across the range of compilers we
need to support, so a conversion over to std::atomic would be allowed.
On Mon, Oct 2, 2017 at 5:14 PM, Sean McBride <sean at rogue-research.com> wrote:
> Hi all,
> Now that C++11 is required in VTK, could vtkAtomic switch to using std::atomic instead of the current 3 implementations (gcc atomics, Apple atomics, or Windows atomics)? Or are our minimum required environments not ready for that?
> I ask because the APIs currently used in the macOS case are deprecated, and thus it would be best to stop using them...
> Sean McBride, B. Eng sean at rogue-research.com
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
> Follow this link to subscribe/unsubscribe:
More information about the vtk-developers