public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@gmail.com>
To: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Cc: Pavel Machek <pavel@ucw.cz>, linux-kernel@vger.kernel.org
Subject: Re: sigwait() breaks when straced
Date: Sun, 31 Jul 2005 10:59:57 -0700	[thread overview]
Message-ID: <a36005b5050731105924a2f1e5@mail.gmail.com> (raw)
In-Reply-To: <E1Dz15m-0000sO-Qx@approximate.corpus.cam.ac.uk>

On 7/30/05, Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk> wrote:
> so the return value should not be 4 (or the docs are not right).

This return value simply indicated EINTR (sigwait does not set errno,
read the docs).

The kernel simply doesn't restart the function in case of a signal. 
It should do this, though.

      reply	other threads:[~2005-07-31 17:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-30 23:50 sigwait() breaks when straced Sanjoy Mahajan
2005-07-31 17:59 ` Ulrich Drepper [this message]

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=a36005b5050731105924a2f1e5@mail.gmail.com \
    --to=drepper@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=sanjoy@mrao.cam.ac.uk \
    /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