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

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

1.1     ! nbrk        1: /*
        !             2:  * $Id$
        !             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:
        !            16:        for (a = 0; a < 1000000; a++)
        !            17:                ;
        !            18:        printf("hello from task 2\n");
        !            19:
        !            20:        goto a1;
        !            21:
        !            22:
        !            23: }
        !            24:

CVSweb