Subversion Repositories HelenOS

Rev

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

Rev 2787 Rev 3424
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("%llu ", THREAD->tid);
51
            printf("%" PRIu64 " ", 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