diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-01 23:35:27 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-02 16:43:57 +0300 |
commit | f52b47eea4c5de553d202669f91e6f4f14668592 (patch) | |
tree | 1f7920725b5e878883caf570b233a72e42065f1b /build2/test/script/regex.hxx | |
parent | 1e71bf440efb037a7aa2bafd679cf988129fad7b (diff) |
Add workaround for data race in libstdc++'s locale(const locale&, Facet*) constructor
Diffstat (limited to 'build2/test/script/regex.hxx')
-rw-r--r-- | build2/test/script/regex.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build2/test/script/regex.hxx b/build2/test/script/regex.hxx index 500c21b..33a4cba 100644 --- a/build2/test/script/regex.hxx +++ b/build2/test/script/regex.hxx @@ -344,6 +344,13 @@ namespace build2 // line_char_locale (); }; + + // Initialize the testscript regex global state. Should be called once + // prior to creating objects of types from this namespace. Note: not + // thread-safe. + // + void + init (); } } } |