add tpool thread name parameter, fi init

This commit is contained in:
frtabu
2021-01-08 01:22:23 +01:00
parent 58309dd730
commit cbdfc1c933
4 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -214,9 +214,9 @@ nrUE_params_t *get_nrUE_params(void) {
}
/* initialie thread pools used for NRUE processing paralleliation */
void init_tpools(uint8_t nun_dlsch_threads) {
char *params=calloc(1,(RX_NB_TH*2)+1);
char *params=calloc(1,(RX_NB_TH*3)+1);
for (int i=0; i<RX_NB_TH; i++) {
memcpy(params+(i*2),"-1",2);
memcpy(params+(i*3),"-1,",3);
}
initTpool(params, &(nrUE_params.Tpool), false);
free(params);