This commit is contained in:
Sakthivel Velumani
2020-08-27 12:42:25 +02:00
parent 9dc149e0f0
commit 3e3af2c11b
5 changed files with 23 additions and 9 deletions
+5
View File
@@ -793,6 +793,11 @@ void init_gNB_proc(int inst) {
pthread_mutex_init(&sync_phy_proc.mutex_phy_proc_tx, NULL);
pthread_cond_init(&sync_phy_proc.cond_phy_proc_tx, NULL);
sync_phy_proc.phy_proc_CC_id = 0;
gNB->threadPool = (tpool_t*)malloc(sizeof(tpool_t));
gNB->respDecode = (notifiedFIFO_t*) malloc(sizeof(notifiedFIFO_t));
initTpool("n", gNB->threadPool, true);
initNotifiedFIFO(gNB->respDecode);
}