mailing list of musl libc
 help / color / mirror / code / Atom feed
From: =?gb18030?B?s/DT8bzT?= <1066414879@qq.com>
To: =?gb18030?B?bXVzbA==?= <musl@lists.openwall.com>
Subject: [musl] The sigtimedwait function can't return EINTR
Date: Tue, 25 Jun 2024 14:14:29 +0800	[thread overview]
Message-ID: <tencent_BC5BFBDE554CDA6D16C75C535771D4896208@qq.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 217 bytes --]

Hi,


Why not check for EINTR errors in sigwait function instead of sigtimedwait function?
In posix, the sigtimedwait function can return an EINTR error.

Can you give me a reason for this situation?


Thanks

[-- Attachment #2: Type: text/html, Size: 364 bytes --]

             reply	other threads:[~2024-06-25  6:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-25  6:14 =?gb18030?B?s/DT8bzT?= [this message]
2024-06-26 15:30 ` Rich Felker

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=tencent_BC5BFBDE554CDA6D16C75C535771D4896208@qq.com \
    --to=1066414879@qq.com \
    --cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).