From 2182233068980a2a63690b51f33f46baaeb4a61b Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Fri, 11 Jun 2021 16:51:07 +0200 Subject: [PATCH] Center list --- src/scheduler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scheduler.c b/src/scheduler.c index 184a219..b3a02ef 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -88,9 +88,9 @@ static void *GreatScheduler(void *params) printLog("%d CPUs available.\n", 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; }