[vtk-developers] vtkAtomic vs std::atomic, can we change yet?

Robert Maynard 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...
>
> Thanks,
>
> --
> ____________________________________________________________
> 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:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>


More information about the vtk-developers mailing list