ttcn3_dut: block OS signals before starting log backend

this prevents the backend thread from handling the signals. they
are only handled by epoll running in the main thread.

this fixes #1713
This commit is contained in:
Andre Puschmann 2020-09-14 15:56:00 +02:00
parent 6dc7841369
commit 973de8f78d
1 changed files with 3 additions and 0 deletions

View File

@ -117,6 +117,9 @@ int main(int argc, char** argv)
{
std::cout << "Built in " << srslte_get_build_mode() << " mode using " << srslte_get_build_info() << "." << std::endl;
// we handle OS signals through epoll
block_signals();
ttcn3_dut_args_t dut_args = {};
all_args_t ue_args = parse_args(&dut_args, argc, argv);