Correctly stop tx_reorder and L1_stats threads

This commit is contained in:
Robert Schmidt
2022-08-16 14:41:02 +02:00
parent 1512e39e4e
commit 004d6d3bab
+5
View File
@@ -482,6 +482,11 @@ void term_gNB_Tpool(int inst) {
abortNotifiedFIFO(&gNB->L1_tx_free);
abortNotifiedFIFO(&gNB->L1_tx_filled);
abortNotifiedFIFO(&gNB->L1_tx_out);
gNB_L1_proc_t *proc = &gNB->proc;
if (!get_softmodem_params()->emulate_l1)
pthread_join(proc->L1_stats_thread, NULL);
pthread_join(proc->pthread_tx_reorder, NULL);
}
/*!