Subversion Repositories HelenOS

Rev

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

Rev 1787 Rev 1852
Line 42... Line 42...
42
static void threadtest(void *data)
42
static void threadtest(void *data)
43
{
43
{
44
 
44
 
45
    thread_detach(THREAD); 
45
    thread_detach(THREAD); 
46
 
46
 
47
    while(1)
-
 
48
    {
-
 
49
        while (1)
47
    while (1)
50
            ;
-
 
51
        printf("%d\n",(int)(THREAD->tid));
48
        printf("%d\n",(int)(THREAD->tid));
52
        scheduler();
-
 
53
    }
-
 
54
}
49
}
55
 
50
 
56
void test(void)
51
void test(void)
57
{
52
{
58
    thread_t *t;
53
    thread_t *t;