<div dir="ltr">I would vote for dropping vtkAtomic and switching to std::atomic. Assuming that the functionality of std::atomic is a superset of vtkAtomic's</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 3, 2017 at 8:40 AM, Robert Maynard <span dir="ltr"><<a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you asking about replacing just the<br>
Core/SMP/Sequential/vtkAtomic.<wbr>cxx implementation or are you also<br>
interested in removing all the per SMP implementations?<br>
<br>
Using <a href="http://en.cppreference.com/w/cpp/compiler_support" rel="noreferrer" target="_blank">http://en.cppreference.com/w/<wbr>cpp/compiler_support</a> we can see<br>
that std::atomic is fully supported across the range of compilers we<br>
need to support, so a conversion over to std::atomic would be allowed.<br>
<span class="im HOEnZb"><br>
On Mon, Oct 2, 2017 at 5:14 PM, Sean McBride <<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>> wrote:<br>
</span><div class="HOEnZb"><div class="h5">> Hi all,<br>
><br>
> 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?<br>
><br>
> I ask because the APIs currently used in the macOS case are deprecated, and thus it would be best to stop using them...<br>
><br>
> Thanks,<br>
><br>
> --<br>
> ______________________________<wbr>______________________________<br>
> Sean McBride, B. Eng                 <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
> Rogue Research                        <a href="http://www.rogue-research.com" rel="noreferrer" target="_blank">www.rogue-research.com</a><br>
> Mac Software Developer              Montréal, Québec, Canada<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtk-<wbr>developers</a><br>
><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtk-<wbr>developers</a><br>
<br>
</div></div></blockquote></div><br></div>