=================================================================== RCS file: /cvs/funnyos/tasks/hello.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- funnyos/tasks/hello.c 2007/11/20 16:09:16 1.1 +++ funnyos/tasks/hello.c 2007/11/23 13:08:07 1.2 @@ -1,5 +1,5 @@ /* - * $Id: hello.c,v 1.1 2007/11/20 16:09:16 nbrk Exp $ + * $Id: hello.c,v 1.2 2007/11/23 13:08:07 nbrk Exp $ */ #include @@ -8,9 +8,16 @@ void hello_enter() { - printf("hello task: enter\n"); + uint32_t a; - while(1) + printf("hello 1 task: enter\n"); + +a1: + for (a = 0; a < 1000000; a++) ; + printf("hello from task 1\n"); + + goto a1; + }