L1_rx_thread(): leave if thread-pool returns NULL

This commit is contained in:
Robert Schmidt
2024-01-23 13:46:32 +01:00
parent bd9498062a
commit 061fd39feb
+2
View File
@@ -154,6 +154,8 @@ void *L1_rx_thread(void *arg)
while (oai_exit == 0) {
notifiedFIFO_elt_t *res = pullNotifiedFIFO(&gNB->resp_L1);
if (res == NULL)
break;
processingData_L1_t *info = (processingData_L1_t *)NotifiedFifoData(res);
rx_func(info);
delNotifiedFIFO_elt(res);