Re: Runaway cron task on 2.5.63/4 bk?

Felipe Alfaro Solana
2003-03-10T22:55:11Z

----- Original Message -----
From: Andrew Morton <akpm@digeo.com>
Date: Mon, 10 Mar 2003 14:29:44 -0800
To: george anzinger <george@mvista.com>
Subject: Re: Runaway cron task on 2.5.63/4 bk?

> If an app wants to sleep forever, calling
>
> while (1)
> sleep(MAX_INT);
>
> seems like a reasonable approach. I'd expect quite a lot of applications
> would be doing that.

why not sleep(0)?

Felipe

--
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr