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

File: [local] / funnyos / tasks / hello.c (download)

Revision 1.3, Fri Jan 11 15:28:31 2008 UTC (16 years, 3 months ago) by nbrk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines

increase delays in delay-loops by 10

/*
 * $Id: hello.c,v 1.3 2008/01/11 15:28:31 nbrk Exp $
 */
#include <sys/types.h>

#include <libkern/printf.h>

void
hello_enter()
{
	uint32_t a;

	printf("hello 1 task: enter\n");

a1:
	for (a = 0; a < 10000000; a++)
		;
	printf("hello from task 1\n");

	goto a1;

}