=================================================================== RCS file: /cvs/funnyos/tasks/hello.c,v retrieving revision 1.1 retrieving revision 1.3 diff -u -r1.1 -r1.3 --- funnyos/tasks/hello.c 2007/11/20 16:09:16 1.1 +++ funnyos/tasks/hello.c 2008/01/11 15:28:31 1.3 @@ -1,5 +1,5 @@ /* - * $Id: hello.c,v 1.1 2007/11/20 16:09:16 nbrk Exp $ + * $Id: hello.c,v 1.3 2008/01/11 15:28:31 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 < 10000000; a++) ; + printf("hello from task 1\n"); + + goto a1; + }