From d42e44ec28be32016cd18252bedc13613da6c88b Mon Sep 17 00:00:00 2001
From: Laurent THOMAS <laurent.thomas@open-cells.com>
Date: Wed, 19 May 2021 12:02:29 +0200
Subject: [PATCH] revert thread configuration specific to test

---
 executables/nr-gnb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/executables/nr-gnb.c b/executables/nr-gnb.c
index bc08bae5daa..f5e49b73b8b 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));
-- 
GitLab