mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-20 02:55:47 +00:00
ce9cd8072a
By using `call_once` from C++11, we can simplify the logic in code where we are querying same value variables from multiple threads.
178 B
178 B
Use std::call_once to construct singeltons
By using call_once from C++11, we can simplify the logic in code where we are querying same value variables from multiple threads.