Subversion Repositories HelenOS

Rev

Rev 2223 | Rev 2227 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2223 Rev 2224
Line 597... Line 597...
597
            t->cpu = &cpus[i];
597
            t->cpu = &cpus[i];
598
            spinlock_unlock(&t->lock);
598
            spinlock_unlock(&t->lock);
599
            printf("cpu%u: ", i);
599
            printf("cpu%u: ", i);
600
            thread_ready(t);
600
            thread_ready(t);
601
            thread_join(t);
601
            thread_join(t);
-
 
602
            thread_detach(t);
602
        } else
603
        } else
603
            printf("Unable to create thread for cpu%u\n", i);
604
            printf("Unable to create thread for cpu%u\n", i);
604
    }
605
    }
605
   
606
   
606
    return 1;
607
    return 1;