Remove wrong abort call for the case of affinity!= -1

This commit is contained in:
Eurecom
2021-12-10 13:18:58 +01:00
parent 1da693dd78
commit cfbced8b5f
-1
View File
@@ -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);