Commit 4652c230 authored by Raymond Knopp's avatar Raymond Knopp Committed by Robert Schmidt

L1_rx_thread(): leave if thread-pool returns NULL

parent a1d59bde
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment