Subversion Repositories HelenOS

Rev

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

Rev 2210 Rev 2216
Line 46... Line 46...
46
{
46
{
47
    thread_detach(THREAD); 
47
    thread_detach(THREAD); 
48
 
48
 
49
    while (atomic_get(&finish)) {
49
    while (atomic_get(&finish)) {
50
        if (!sh_quiet)
50
        if (!sh_quiet)
51
            printf("%d ", (int) (THREAD->tid));
51
            printf("%llu ", THREAD->tid);
52
        thread_usleep(100000);
52
        thread_usleep(100000);
53
    }
53
    }
54
    atomic_inc(&threads_finished);
54
    atomic_inc(&threads_finished);
55
}
55
}
56
 
56