newline
This commit is contained in:
parent
c0eb95ea38
commit
f12bcee6f2
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ sched_init(int nthreads, int qlen, taskfunc f, void *closure)
|
||||||
pthread_t threads[nthreads];
|
pthread_t threads[nthreads];
|
||||||
for(int i = 0; i < nthreads; ++i) {
|
for(int i = 0; i < nthreads; ++i) {
|
||||||
if(pthread_create(&threads[i], NULL, sched_worker, &sched) != 0) {
|
if(pthread_create(&threads[i], NULL, sched_worker, &sched) != 0) {
|
||||||
fprintf(stderr, "Can't create the thread %d", i);
|
fprintf(stderr, "Can't create the thread %d\n", i);
|
||||||
|
|
||||||
if(i > 0) {
|
if(i > 0) {
|
||||||
fprintf(stderr, ", cancelling already created threads...\n");
|
fprintf(stderr, ", cancelling already created threads...\n");
|
||||||
|
|
Reference in a new issue