[BACK]Return to hello2.c CVS log [TXT][DIR] Up to [local] / funnyos / tasks

Annotation of funnyos/tasks/hello2.c, Revision 1.2

1.1       nbrk        1: /*
1.2     ! nbrk        2:  * $Id: hello2.c,v 1.1 2007/11/23 13:08:40 nbrk Exp $
1.1       nbrk        3:  */
                      4: #include <sys/types.h>
                      5:
                      6: #include <libkern/printf.h>
                      7:
                      8: void
                      9: hello2_enter(void)
                     10: {
                     11:        uint32_t a;
                     12:
                     13:        printf("hello 2 task: enter\n");
                     14:
                     15: a1:
1.2     ! nbrk       16:        for (a = 0; a < 10000000; a++)
1.1       nbrk       17:                ;
                     18:        printf("hello from task 2\n");
                     19:
                     20:        goto a1;
                     21:
                     22:
                     23: }
                     24:

CVSweb