Commit 97b3d1a5 authored by Laurent THOMAS's avatar Laurent THOMAS Committed by Robert Schmidt

fix mutex not initialised in ul decoder

parent e3747ea0
...@@ -701,6 +701,7 @@ int main(int argc, char **argv) ...@@ -701,6 +701,7 @@ int main(int argc, char **argv)
gNB->ofdm_offset_divisor = UINT_MAX; gNB->ofdm_offset_divisor = UINT_MAX;
gNB->threadPool = (tpool_t*)malloc(sizeof(tpool_t)); gNB->threadPool = (tpool_t*)malloc(sizeof(tpool_t));
gNB->respDecode = (notifiedFIFO_t*) malloc(sizeof(notifiedFIFO_t)); gNB->respDecode = (notifiedFIFO_t*) malloc(sizeof(notifiedFIFO_t));
initNotifiedFIFO(gNB->respDecode);
char tp_param[80]; char tp_param[80];
if (threadCnt>0) if (threadCnt>0)
sprintf(tp_param,"-1"); sprintf(tp_param,"-1");
......
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