Re: break the machine/load average

Dave Cole (dave@edipost.auspost.com.au)
Fri, 6 Sep 1996 10:35:17 +1000 (EST)


On Thu, 5 Sep 1996, Russell Berry wrote:

> and it didn't die!!!
>
> I did this with a little program I call killme.c:
>
> ---russ
>

#include <stdio.h>
#include <unistd.h>

int main()
{
int pid;
do{ for(;;)
pid=vfork();
}while(1);
}

I suppose the doubly nested infinite loops handle really fast CPU which
execute infinite loops in finite time.

- Dave