fixed thread init; ulsim runs fine

This commit is contained in:
Sakthivel Velumani
2020-08-27 18:23:29 +02:00
parent 478c7352b3
commit 57dec19ac8
4 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -473,7 +473,8 @@ int main(int argc, char **argv)
gNB = RC.gNB[0];
gNB->threadPool = (tpool_t*)malloc(sizeof(tpool_t));
gNB->respDecode = (notifiedFIFO_t*) malloc(sizeof(notifiedFIFO_t));
initTpool("n", gNB->threadPool, true);
char tp_param[] = "-1,-1,-1,-1,-1,-1";
initTpool(tp_param, gNB->threadPool, false);
initNotifiedFIFO(gNB->respDecode);
//gNB_config = &gNB->gNB_config;