Re: Runaway cron task on 2.5.63/4 bk?

Felipe Alfaro Solana (felipe_alfaro@linuxmail.org)
Tue, 11 Mar 2003 00:05:39 +0100


----- 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

Powered by Outblaze - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/