Skip to content

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 const variables from multiple threads.

close #246 (closed).

Edited by Haocheng LIU

Merge request reports

Loading