commit | 2bdf60c4e85107d8875890cca10624308dcf2ae4 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davidepesa@gmail.com> | Tue Feb 19 18:23:45 2019 -0500 |
committer | Davide Pesavento <davidepesa@gmail.com> | Tue Feb 19 18:23:45 2019 -0500 |
tree | cc8f6e71c957fac3f945331b2f9c372e5cfd1d38 | |
parent | 6ecc3f81418f623024993d694016451c652a5da8 [diff] [blame] |
core+main: switch to std::thread and thread_local Change-Id: I892eb7d87639c2b0d24a8ed457b9d32635269216
diff --git a/tests/rib-io-fixture.cpp b/tests/rib-io-fixture.cpp index 91fc979..8702994 100644 --- a/tests/rib-io-fixture.cpp +++ b/tests/rib-io-fixture.cpp
@@ -38,7 +38,7 @@ g_mainIo = &getGlobalIoService(); setMainIoService(g_mainIo); - g_ribThread = boost::thread([&] { + g_ribThread = std::thread([&] { { std::lock_guard<std::mutex> lock(m); g_ribIo = &getGlobalIoService();