mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: melkorainur@yahoo.com (Melkor Ainur)
Cc: linux-kernel@vger.kernel.org
Subject: Re: signal_pending() and schedule()
Date: Wed, 27 Mar 2002 00:53:16 +0000 (GMT)	[thread overview]
Message-ID: <E16q1gi-0004OW-00@the-village.bc.nu> (raw)
In-Reply-To: <20020327001955.99099.qmail@web21203.mail.yahoo.com> from "Melkor Ainur" at Mar 26, 2002 04:19:55 PM

> 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

  reply	other threads:[~2002-03-27  0:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-27  0:19 Melkor Ainur
2002-03-27  0:53 ` Alan Cox [this message]
2002-03-27  1:49 ` Joel Becker
2002-03-27  3:52   ` Melkor Ainur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16q1gi-0004OW-00@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=melkorainur@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®