core: add a facility to execute functions on the RIB io_service

refs #4279

Change-Id: I29222053348e5d1737d47c85a59d29280b4b791b
This commit is contained in:
Teng Liang authored and Alexander Afanasyev committed 2018-08-05 14:12:14 -04:00
1 parent b53fe6444b
commit 952d6fd3d7
9 files changed
+368 -22

No files matched your search

+1
View File
@@ -120,6 +120,7 @@ public:
std::lock_guard<std::mutex> lock(m);
ribIo = &getGlobalIoService();
BOOST_ASSERT(ribIo != mainIo);
setRibIoService(ribIo);
}
cv.notify_all(); // notify that ribIo has been assigned