Re: signal_pending() and schedule()

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Mar 26 2002 - 19:53:16 EST


> but fails for netscape. In debugging this, I observe
> that after calling schedule_timeout(), the sigpending
> bit appears to be set immediately and thus

It means a signal was delivered

> schedule() doesn't actually put the process to sleep.

Because the signal is pending. The kernel is expecting to return or take
some action and return to user space if its an interrutible sleep
-
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/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:12 EST