Center list

This commit is contained in:
Adrien Bourmault 2021-06-11 16:51:07 +02:00
parent b73a9a8091
commit 2182233068
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 2 additions and 2 deletions

View File

@ -88,9 +88,9 @@ static void *GreatScheduler(void *params)
printLog("%d CPUs available.\n", ncpu); printLog("%d CPUs available.\n", ncpu);
Thread_t *workerArray = (Thread_t*) malloc(sizeof(Thread_t) * 3 * ncpu); Thread_t *workerArray = (Thread_t*) malloc(sizeof(Thread_t) * 3 * ncpu);
Center_t *centersArray = (Center_t*) malloc(sizeof(Center_t)); Center_t *centersList = (Center_t*) malloc(sizeof(Center_t));
centerAssign(centersArray, -1, -1, -1); centerAssign(centersList, -1, -1, -1);
return NULL; return NULL;
} }