Subversion Repositories HelenOS-historic

Rev

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

Rev 1104 Rev 1658
Line 39... Line 39...
39
 
39
 
40
#define THREADS 5
40
#define THREADS 5
41
 
41
 
42
static void threadtest(void *data)
42
static void threadtest(void *data)
43
{
43
{
-
 
44
 
-
 
45
    thread_detach(THREAD); 
-
 
46
 
44
    while(1)
47
    while(1)
45
    {
48
    {
46
        while (1)
49
        while (1)
47
            ;
50
            ;
48
        printf("%d\n",(int)(THREAD->tid));
51
        printf("%d\n",(int)(THREAD->tid));