comment
This commit is contained in:
parent
1b6db69cd2
commit
de2888683a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue