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

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

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

increase delays in delay-loops by 10

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

#include <libkern/printf.h>

void
hello2_enter(void)
{
	uint32_t a;

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

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

	goto a1;


}