From de2888683adbd76a71fbc1be4795bf22d384b1b0 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 21 Apr 2024 19:29:21 +0200 Subject: [PATCH] comment --- src/sched.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sched.c b/src/sched.c index 9a96a2c..cd0d3b3 100644 --- a/src/sched.c +++ b/src/sched.c @@ -107,6 +107,7 @@ sched_init(int nthreads, int qlen, taskfunc f, void *closure) return sched_init_cleanup(-1); } + // Créer les threads if(!(sched.threads = malloc(sched.nthreads * sizeof(pthread_t *)))) { perror("Threads"); return sched_init_cleanup(-1);