Subversion Repositories HelenOS

Rev

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

Rev 2028 Rev 2042
Line 105... Line 105...
105
 
105
 
106
    atomic_set(&thread_count, THREADS);
106
    atomic_set(&thread_count, THREADS);
107
    atomic_set(&thread_fail, 0);
107
    atomic_set(&thread_fail, 0);
108
       
108
       
109
    for (i = 0; i < THREADS; i++) {
109
    for (i = 0; i < THREADS; i++) {
110
        thread_t * thrd = thread_create(falloc, NULL, TASK, 0, "falloc");
110
        thread_t * thrd = thread_create(falloc, NULL, TASK, 0, "falloc", false);
111
        if (!thrd) {
111
        if (!thrd) {
112
            printf("Could not create thread %d\n", i);
112
            printf("Could not create thread %d\n", i);
113
            break;
113
            break;
114
        }
114
        }
115
        thread_ready(thrd);
115
        thread_ready(thrd);