[Runtime] misc fixes to runtime and listener (#170)

* misc runtime fixes

* clang format
This commit is contained in:
water111
2020-12-28 18:37:05 -05:00
committed by GitHub
parent c811778d00
commit 4d713d5c8c
25 changed files with 192 additions and 126 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
SystemThread& SystemThreadManager::create_thread(const std::string& name) {
if (thread_count >= MAX_SYSTEM_THREADS) {
spdlog::critical("Out of System Threads! MAX_SYSTEM_THREADS is ", MAX_SYSTEM_THREADS);
throw std::runtime_error("Out of System Threads! Please increase MAX_SYSTEM_THREADS");
assert(false);
}
auto& thread = threads[thread_count];