Return to hello.c CVS log | Up to [local] / funnyos / tasks |
1.1 nbrk 1: /* 1.3 ! nbrk 2: * $Id: hello.c,v 1.2 2007/11/23 13:08:07 nbrk Exp $ 1.1 nbrk 3: */ 4: #include <sys/types.h> 5: 6: #include <libkern/printf.h> 7: 8: void 9: hello_enter() 10: { 1.2 nbrk 11: uint32_t a; 1.1 nbrk 12: 1.2 nbrk 13: printf("hello 1 task: enter\n"); 14: 15: a1: 1.3 ! nbrk 16: for (a = 0; a < 10000000; a++) 1.1 nbrk 17: ; 1.2 nbrk 18: printf("hello from task 1\n"); 19: 20: goto a1; 21: 1.1 nbrk 22: } 23: