Subversion Repositories HelenOS

Rev

Rev 2131 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2131 Rev 2307
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\n", (int) (THREAD->tid));
51
            printf("%llu ", THREAD->tid);
52
        thread_usleep(100);
52
        thread_usleep(100000);
53
    }
53
    }
54
    atomic_inc(&threads_finished);
54
    atomic_inc(&threads_finished);
55
}
55
}
56
 
56
 
57
char * test_thread1(bool quiet)
57
char * test_thread1(bool quiet)