Fixed blocking bug

This commit is contained in:
Sakthivel Velumani
2021-03-17 14:58:06 +01:00
parent cdda2a4a6f
commit a702fd55b3
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -767,6 +767,7 @@ void *UE_thread(void *arg) {
memset(txp[i], 0, writeBlockSize);
nbSlotProcessing++;
LOG_D(PHY,"Number of slots being processed at the moment: %d\n",nbSlotProcessing);
pushTpool(&(get_nrUE_params()->Tpool), msgToPush);
} // while !oai_exit
+2 -2
View File
@@ -220,8 +220,8 @@ void init_tpools(uint8_t nun_dlsch_threads) {
memcpy(params,"N",1);
}
else {
params = calloc(1,(RX_NB_TH*3)+1);
for (int i=0; i<RX_NB_TH; i++) {
params = calloc(1,(RX_NB_TH*NB_TH_SLOT*3)+1);
for (int i=0; i<RX_NB_TH*NB_TH_SLOT; i++) {
memcpy(params+(i*3),"-1,",3);
}
}
+1
View File
@@ -75,6 +75,7 @@
#define RX_NB_TH_MAX 2
#define RX_NB_TH 1
#define NB_TH_SLOT 2
#define RX_NB_TH_DL 14
#define LTE_SLOTS_PER_SUBFRAME 2