From cfbced8b5fa884ce5ca7e29fccbe657b10a9db6f Mon Sep 17 00:00:00 2001
From: Eurecom <eurecom@obelix.5glab.nsa.eurecom.fr>
Date: Fri, 10 Dec 2021 13:18:58 +0100
Subject: [PATCH] Remove wrong abort call for the case of affinity!= -1

---
 common/utils/system.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/common/utils/system.c b/common/utils/system.c
index 72b0c71a21a..1bdad555294 100644
--- a/common/utils/system.c
+++ b/common/utils/system.c
@@ -257,7 +257,6 @@ void threadCreate(pthread_t* t, void * (*func)(void*), void * param, char* name,
   
   pthread_setname_np(*t, name);
   if (affinity != -1 ) {
-    abort();
     cpu_set_t cpuset;
     CPU_ZERO(&cpuset);
     CPU_SET(affinity, &cpuset);
-- 
GitLab