From: Lukasz Majewski <lukma@denx.de>
To: Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org>
Subject: Re: [PATCH] misc: Fix tst-select timeout handling (BZ#27648)
Date: Fri, 26 Mar 2021 10:43:46 +0100 [thread overview]
Message-ID: <20210326104346.05155e6b@jawa> (raw)
In-Reply-To: <20210325200007.3571113-1-adhemerval.zanella@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
Hi Adhemerval,
> Instead of polling the stderr, create two pipes and fork to check
> if child timeout as expected similar to tst-pselect.c. Also lower
> the timeout value.
I'm just wondering why this approach (with pipes) is more safe than
polling stderr?
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2021-03-26 9:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-25 20:00 Adhemerval Zanella
2021-03-25 21:06 ` H.J. Lu
2021-03-26 9:43 ` Lukasz Majewski [this message]
2021-03-26 17:15 ` Adhemerval Zanella
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=20210326104346.05155e6b@jawa \
--to=lukma@denx.de \
--cc=libc-alpha@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).