Introduce message threads and message handling (#4)

This commit is contained in:
Chalith Desaman
2021-06-04 12:06:22 +05:30
committed by GitHub
parent 23df070313
commit 2dfd7cf6bc
18 changed files with 762 additions and 43 deletions

View File

@@ -55,6 +55,7 @@ void sig_exit_handler(int signum)
void segfault_handler(int signum)
{
LOG_ERROR << boost::stacktrace::stacktrace();
exit(SIGABRT);
}
@@ -84,6 +85,8 @@ void std_terminate() noexcept
LOG_ERROR << "std error: Terminated due to unknown reason";
}
LOG_ERROR << boost::stacktrace::stacktrace();
exit(1);
}