Subversion Repositories HelenOS-historic

Rev

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

Rev 692 Rev 1062
Line 75... Line 75...
75
    rwlock_initialize(&rwlock);
75
    rwlock_initialize(&rwlock);
76
 
76
 
77
    rwlock_write_lock(&rwlock);
77
    rwlock_write_lock(&rwlock);
78
   
78
   
79
    for (i=0; i<4; i++) {
79
    for (i=0; i<4; i++) {
80
        thrd = thread_create(reader, NULL, TASK, 0);
80
        thrd = thread_create(reader, NULL, TASK, 0, "reader");
81
        if (thrd)
81
        if (thrd)
82
            thread_ready(thrd);
82
            thread_ready(thrd);
83
        else
83
        else
84
            failed();
84
            failed();
85
    }
85
    }