diff --git a/executables/nr-gnb.c b/executables/nr-gnb.c index bc08bae5daae93d6ed4e9047044766795d9d618b..f5e49b73b8bc85536c3bdaa087101f683f6310bc 100644 --- a/executables/nr-gnb.c +++ b/executables/nr-gnb.c @@ -379,7 +379,7 @@ void init_gNB_Tpool(int inst) { sprintf(ul_pool+2+s_offset,",-1"); s_offset += 3; } - strcpy(ul_pool, "n"); + if (getenv("noThreads")) strcpy(ul_pool, "n"); initTpool(ul_pool, gNB->threadPool, false); // ULSCH decoder result FIFO gNB->respDecode = (notifiedFIFO_t*) malloc(sizeof(notifiedFIFO_t));